This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forwarding request to same servlet

 
Kripal Singh
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to forward the request to the same servlet (but different URL). E.g. when �servlet/MyServlet?p=1� is loaded it forward the request to �servlet/MyServlet�. Currently I am using the sendRedirect method but it is slow. I tried using the requestDispatcher.forward method but since it is for an external resource it not working. Something like

Is there any way I can do it that is faster then sendRedirect method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic