This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Redirecting to a page 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 "Redirecting to a page" Watch "Redirecting to a page" New topic
Author

Redirecting to a page

Aaron Webb
Greenhorn

Joined: Aug 16, 2001
Posts: 17
What are some suggestions on sending to a JSP from a servlet. I have some data that is stored in the session that I am using for a user, but there is some data that just needs to be returned to the page. If it was just stored in the request that would be great but I don't want to use the RequestDispatcher as it screws up the URL and creates a lot of headaches when refreshing the page and such. On the other hand, response.sendRedirect() just redirects so I end up putting the beans in the session. Any other ways to do this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirecting to a page
 
Similar Threads
session retriving while forwarding to other site
Performance question based on two cases
Retaining jsp form data when accessing a separate menu item
Back to basics with HttpSession
Redirecting to a page