Daniel,
Two ideas for you:
1) parse the product parameter yourself with StringTokenizer and make the
array yourself in your JSP.
2) put the array in a bean and get the bean and the array in your JSP.

-Richard

-----Original Message-----
From: Daniel Lynn [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 05, 2000 10:47 AM
To: [EMAIL PROTECTED]
Subject: passing arrays


ok, I have a jsp program that is currently set up so that if a hyperlink
references it as product.jsp?product=009A a request.getParameter will
give me the value of "product" -- nothing new and amazing there.... I
would like to reference the jsp page as
product.jsp?product=009A,0753,6518 and have it acknowledge "product" as
an array. Does anyone know what the best way to do this is or know where
there's a toturial or anything dealing with this?

thanks in advance,

Daniel

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to