File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes RequestDispatcher 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 » JSP
Reply locked New topic


Venkatesh Kulkarni

Joined: Sep 20, 2005
Posts: 5
Iam developing an application in which selecting an option from the combo box in a jsp page would invoke a servlet. The servlet updates some database tables and returns the control back to the jsp page (through RequestDispatch).
My problem is, after the servelt dispatches to the old jsp, the jsp is getting refreshed and thus losing all the field data.
Please help me solve the problem. its very urgent.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60740

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in your Servlets post.

Forum bartender

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: RequestDispatcher
Similar Threads
my function doesnt work
How to update the browser address with the displayed page
Servlet tricks me
RequestDispatcher forward and Unable to compile class
[Glassfish, EJB3, web client] EJB name vs. mappedName, JSP and dependency injection