Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Servlets
How to display previous values?
Hemant Agarwal
Ranch Hand
Posts: 138
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have submitted form from jsp1 page to another
servlet
which again forwarded control to the previous jsp1 page. Now I want to display the same values selected for my control which were there when I selected them. How to do that?
Ben Souther
Sheriff
Posts: 13411
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You would do this by binding the values to either request, session, or context scope.
You'll want to learn in implications of each before you do so.
Most Servlet/JSP tutorials cover these concepts pretty early on.
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Adeel Ansari
Ranch Hand
Posts: 2874
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In addition, request object best suits your requirement.
Please refer to request setAttribute()/getAttribute() methods.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Need direction for passing values problem+struts2
transferring values
setting a row value
using OGNL
2 jsp's data passing
More...