Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirecting to a page  RSS feed

Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!