Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Send Redirect

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I have understanding about send redirect process like this....
Client browser send HTTP request to web container (servlet) and its servlet process the request. After that servlet will create response which I use method sendRedirect() inside its response. Its response is sent to browser and then browser know that browser have to get the another resource because of sendRedirect(). Then browser will send request again to get that another resource as mention in sendRedirect()....
Is my understanding about it true?
Correct me if i am wrong....
daniel
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3890
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!