Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Request dispatcher and send redirect  RSS feed

 
kiran kumar sharma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we forward or redirect a request using request dispatcher or response sendRedirect to servlet, which method of the servlet is called..?
 
Praveen Thaliyil
Greenhorn
Posts: 10
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kiran ,



please go to http://www.roseindia.net/help/java/s/forward-vs-redirect.shtml
hope it will help you.
 
Anurag Verma
Ranch Hand
Posts: 168
Hibernate Spring Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for redirection, it is always a GET request, for forwarding from a servlet to another, whatever type of request the forwarding servlet has recieved, will be passed on to the forwarded servlet.
 
kiran kumar sharma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you..
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!