Redirecting to a page
posted 15 years ago
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?