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..]
posted 6 years ago
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