Hi
We have text box field users are copying the data from the word document and pasting into textbox . after saving which is generating some junk characters .
every time when i click on update button . junk characters are increasing .
i noticed for " (double quotes it was replacing with  i tried String replace method to replace these characters . but i am not sure what other characters are getting...
User Profile
Collapse
-
We have several back end script like creating PDF reports and sending those . and few other Reports .
And We are using the Hibernate for database connectivity
Client System JVM memory is 128 MB . even our local server is of 128 MB .
But Hosting People have told to restrict to use only 50 MB for the back end script .
i am trying check how much memory it is taking
System.out.prin tln("Max... -
Jar file Loading takes JVM memory ?
Hi ,
does jar file loaidng will consume the jvm memory ?
I have to run the cronjobs for some of the java files . so i have writen the .sh file ( linux server)
This is the Script file
...Code:temp_path=/bin:/usr/sbin:/usr/bin export temp_path #Setting java commands & classpaths javac=/usr/local/jdk1.5.0_03/bin/javac java=/usr/local/jdk1.5.0_03/bin/java
-
I got the code to read the mail but it will read only unfetched mails .
means , it won't read unread mails . is there any way to do this .Leave a comment:
-
Java Code to Read Mail
HI ,
Is there any sample code to read the mail in java ? -
How to pass session values from http to https
HI
i want to transfer url from the http to https in shopping cart t lossing session . is it possble to do this . -
How to pass Session from Appache to tomcat
HI
How to track the session from Appache to tomcat . i.e From PHP to jsp . -
actually i don't want to screen shot . i want to add some html content to pdf , i tired to add that with itext code but i couldn't add . so thought if possible i can convert the html to image and then i can embed that iamge . like we do for jfree chart .Leave a comment:
-
Converting HTML to image
is it possible to covert html to image . with java code ? like using 2dGraphics or some other thing ? -
itext Pdf
Hi
I am genrating the pdf using itext .
i need to display the fck editor content in the pdf . this is stored as blob in the database ,
we need to display same content in the pdf wth same format .
for example there is data like this
<p> </p> <p><span style="font-size: larger;">HI</span></p> <p> </p>... -
java.lang.NullPointerException when i use mxml tag
HI I am getting following exception when i use mxml tags in jsp
<%@ taglib uri="FlexTagLib " prefix="mm" %>
can any one tell why i am getting this exception
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasp er.JasperExcept ion:... -
http://www.adobe.com/devnet/flex/flex_java.html
this flexLeave a comment:
-
can i find any sample application in flex . i am new to flex . can any provide me the url for sample application . where i can get the values from the session or request in mxmlLeave a comment:
-
Getting the session value in mxml file (Flex)
Hi ,
How to get the session value in mxml file . (flex 2.0.1) -
javax.mail.MessagingException
Hi ,
When i try to send more than 50 or 60 mails from my application .
when it reache 50 or so i am getting
avax.mail.Messa gingException: Could not connect to SMTP host: mail ........,
port: 25;
nested exception is:
java.net.Connec tException: Connection refuse
other wise it will work fine .
can i know what is the problem , is it beacuse... -
i wanted do this either by the stand alone java program or from the application .
after chaning the tomcat to root user , i called the java program program from jsp . then it started working .Leave a comment:
-
now i am able to change the date , i changed the tomcat user to root . and script user to root . now it started working .
thanksLeave a comment:
-
i tried by writing the one shell script with root permision .
# Author: Rashmi
# date : 01-07-2005
date -s 'May 12 2008'
and calling that one with java code
public class LinuxJava {
public static void main(String[] args) {
try {
String command = "/home/rashmi/test.sh ";
final Process process = Runtime.getRunt ime().exec(comm and);...Leave a comment:
-
i have changed the class file user as root but still it is not working .
anything else i need to do ?...Leave a comment:
-
no exception thrown it is executing the code but it is not chaning the date .
for chaning the date we need to have root permision . may be beacuse of that it is not executing .
i tried with this command also
String command = "date -s 'Sat May 24 14:43:00 PDT 2005' "; in place of
String command = "date 07212008'Leave a comment:
No activity results to display
Show More
Leave a comment: