Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet chaining

 
chandra shekhar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any give me example of servlet chaining?
I want both the program of the chain, one who is othere and the other who actually serving the service..
 
anupa oru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
According to my knowledge, servlets chaining is the process of serving request with group of servlets. For example 1st servlet process part of request and then forwarded that request to second servlet via RequestDispatcher.forward method,where second servlet process part of remaining request and this chain goes on till request is served.
Thanks
 
Ravinder S Edhan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Read this post .... it has every thing for you.
http://www.coderanch.com/t/360209/Servlets/java/Servlet-Chaining

Cheers
Ravinder
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Filter instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic