Hi, try something like ...

page1.jsp :
...
<INPUT name="nomProduit" type="hidden" value='<%= myitem.getNomProduit()
%>'>
<INPUT name="nomProduit" type="hidden" value='<%= myitem.getNomProduit()
%>'>
...

page2.jsp
...
<% String nomProduit[] = request.getParameterValues("nomProduit"); %>
...

<!-- Display the values -->
 <%for(int i=0; i < nomProduit.length; i++){%>
   <%= nomProduit[i] %><BR>
 <%}%>

Salutations !

Marc
----- Original Message -----
From: "Sagine E.Ferrus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 10:29 AM
Subject: Re: what am i doing wrong


> I want to have a certain value depending on what image was clicked. that
is why i had the same name and only the value changes. cause it's like
thumbnails of small images about 20 of them and depending on which one was
clicked the value would be the name of the larger image to be viewed on
page2.jsp
> 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
>

===========================================================================
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