Hi here is a sample of my code; plain and simple to the point

page1.html:
...
<form method="post" action="page2.jsp">
<input type="image" SRC="some_image1.jpg" name="imageName"
  value="image1.jpg" border="1">
<input type="image" SRC="some_image2.jpg" name="imageName"
  value="image2.jpg" border="1">
</form>
...

page2.jsp:
...
<img src="<%= request.getParameter("imageName")%>" width="520"
   height="400" border="0">
...

except in page2.jsp imageName returns "null".  Is this not possible, or am i missing 
something. Please help thanks
Sagine

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to