User Profile

Collapse

Profile Sidebar

Collapse
ksrashmi
ksrashmi
Last Activity: Jul 2 '09, 06:41 AM
Joined: May 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ksrashmi
    started a topic Junk Character
    in Java

    Junk Character

    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...
    See more | Go to post

  • ksrashmi
    replied to Jar file Loading takes JVM memory ?
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • ksrashmi
    started a topic Jar file Loading takes JVM memory ?
    in Java

    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
    ...
    See more | Go to post

  • ksrashmi
    replied to Java Code to Read Mail
    in 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 .
    See more | Go to post

    Leave a comment:


  • ksrashmi
    started a topic Java Code to Read Mail
    in Java

    Java Code to Read Mail

    HI ,

    Is there any sample code to read the mail in java ?
    See more | Go to post

  • ksrashmi
    started a topic How to pass session values from http to https
    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 .
    See more | Go to post

  • ksrashmi
    started a topic How to pass Session from Appache to tomcat
    in Java

    How to pass Session from Appache to tomcat

    HI

    How to track the session from Appache to tomcat . i.e From PHP to jsp .
    See more | Go to post

  • ksrashmi
    replied to Converting HTML to image
    in Java
    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 .
    See more | Go to post

    Leave a comment:


  • ksrashmi
    started a topic Converting HTML to image
    in Java

    Converting HTML to image

    is it possible to covert html to image . with java code ? like using 2dGraphics or some other thing ?
    See more | Go to post

  • ksrashmi
    started a topic itext Pdf
    in Java

    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>&nbsp;</p> <p><span style="font-size: larger;">HI</span></p> <p>&nbsp;</p>...
    See more | Go to post

  • ksrashmi
    started a topic java.lang.NullPointerException when i use mxml tag
    in Java

    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:...
    See more | Go to post

  • http://www.adobe.com/devnet/flex/flex_java.html

    this flex
    See more | Go to post

    Leave 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 mxml
    See more | Go to post

    Leave a comment:


  • ksrashmi
    started a topic Getting the session value in mxml file (Flex)
    in Java

    Getting the session value in mxml file (Flex)

    Hi ,

    How to get the session value in mxml file . (flex 2.0.1)
    See more | Go to post

  • ksrashmi
    started a topic javax.mail.MessagingException
    in Java

    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...
    See more | Go to post

  • ksrashmi
    replied to changing the system date from javacode
    in Java
    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 .
    See more | Go to post

    Leave a comment:


  • ksrashmi
    replied to changing the system date from javacode
    in Java
    now i am able to change the date , i changed the tomcat user to root . and script user to root . now it started working .
    thanks
    See more | Go to post

    Leave a comment:


  • ksrashmi
    replied to changing the system date from javacode
    in Java
    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);...
    See more | Go to post

    Leave a comment:


  • ksrashmi
    replied to changing the system date from javacode
    in Java
    i have changed the class file user as root but still it is not working .
    anything else i need to do ?...
    See more | Go to post

    Leave a comment:


  • ksrashmi
    replied to changing the system date from javacode
    in Java
    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'
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...