This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript event" Watch "Javascript event" New topic

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.


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

Joined: Feb 07, 2007
Posts: 234

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

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Javascript event
jQuery in Action, 3rd edition