Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirecting to a page  RSS feed

 
Aaron Webb
Greenhorn
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!