File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Javascript event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript event" Watch "Javascript event" New topic
Author

Javascript event

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
In a jsp page, I have group of text boxes and image with blank spaces. My task is to populate the image with the alphabet/digit entered in the text box.
Any suggestions/example how should I proceed with this.

Thanks,
Himalay


SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
Srikkanth Mohanasundaram
Ranch Hand

Joined: Feb 07, 2007
Posts: 234
    
    1
Hi,

Oh if the image needs to be created , you have to go the server (make an AJAX call passing the text entered by the user), create the image (Take a look at Graphichs2D API) and in the AJAX callback function change the image src attribute with URL where you have placed the image file


Thanks,
Srikkanth
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Javascript event
 
It's not a secret anymore!