This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes jsp-servlet-jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp-servlet-jsp" Watch "jsp-servlet-jsp" New topic
Author

jsp-servlet-jsp

raymond yadao
Ranch Hand

Joined: Jan 29, 2001
Posts: 88
Hi
could some help me? i'm making a program that access the database.
the first page(jsp) get all the user inputs. all the inputs will be pass to the second page(serlvets) that do all the processing. after it finish the all the transaction, the output will be passed to the third page which is another jsp.
i'm having problem on the second and third page. how would i pass the result in servlets to be displayed in the jsp(third page).
thanks.

raymond
paul sun
Greenhorn

Joined: Dec 22, 2000
Posts: 28
Encapsulate a bean with the result into request or session in the servlet, and then the jsp retrieves the result from the bean through the forwarded request or session.
sarika lakkad
Greenhorn

Joined: Mar 21, 2001
Posts: 2
On ur first page save aal the inputs in a bean .On second page retreive from bean process it.Save all tha data in the bean again
while leaving from second page.
In ur third form again retreive from bean.
U can use sessions also.bean scope should be session scope
thanx
 
jQuery in Action, 2nd edition
 
subject: jsp-servlet-jsp
 
Similar Threads
page transition in JSP-logic needed
Enumeration Object problem
Passing a collection in request
Getting session object info from another jsp