File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Send and Get Mutlitple values from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Send and Get Mutlitple values from JSP" Watch "Send and Get Mutlitple values from JSP" New topic

Send and Get Mutlitple values from JSP


Joined: Sep 10, 2003
Posts: 7
I am passing more than value from Servlet.
i.e (Value1, Value2)..
How do I receive these variable values in JSP...
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
Thanks! and welcome to the JavaRanch!

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
If these values are for same request than u can use
setAttribute/getAttribute method of HttpRequest class

Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147

Thanks...qingwu<br />When I open my eyes,I see your pretty face.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Sorry, "Sam" is still an invalid display name. Please check the links given by Mark above.
Your display name must be two words: your first name, a space, then your last name. Fictitious names are not valid either.
Please check the naming policy since accounts with invalid display names get deleted.
I agree. Here's the link:
subject: Send and Get Mutlitple values from JSP