permaculture playing cards*
The moose likes Struts and the fly likes display multiple images from a mysql table to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display multiple images from a mysql table to jsp" Watch "display multiple images from a mysql table to jsp" New topic
Author

display multiple images from a mysql table to jsp

Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

hi guys,
i have this jsp

here i call a servlet to get the image from the Database based on the parameter employee id.

but the problem is that the servlet is not getting called. or it gets call after the page is rendered and it throws a java.lang.NumberFormatException: For input string: "" which is due to the parameter which i have passed i.e id="" as it has already looped out of the values so it will be blank. my question is why the servlet is not getting called


this is my servlet mapping


i have tried using

but no use.
i am using struts
please help me. is it due to struts-config.xml file this problem is being popped up???


[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
SCJP1.5.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display multiple images from a mysql table to jsp
 
Similar Threads
servlet mapping
document.forms[0].submit(); throws Invalid Argument in IE
how to dynamically set values in check box
web application in eclipse 9
How to perform operations like insert,delete,add,move next etc in jsp page?