wood burning stoves*
The moose likes Servlets and the fly likes how to get data from servlet to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to get data from servlet to jsp" Watch "how to get data from servlet to jsp" New topic

how to get data from servlet to jsp

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i am having first jsp page in which user login's if the user present in the database it goes to second jsp page. in middle to check i am using servlet.. it is working but i want to retrieve the user id to the second jsp page..from servlet. i know by using bean we can store data in the first jsp page and send to second jsp page through servlet. but i am new to this field.
pls help me in doing this. pls send me sample code of bean, calling that bean in first jsp, then into servlet and finally displaying it in second jsp..
thank you
I agree. Here's the link: http://aspose.com/file-tools
subject: how to get data from servlet to jsp
Similar Threads
servlet send data
Pass data between managed/ backing beans
Passing attributes from servlet to jsp
inserting information in DB from jsp
setting / accessgin Java Bean between page and servlet.