Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet-Servlet Communication

 
Bob Grant
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
what is ServletCommunication ( Servlet-Servlet Communication )? how do we do it?
Any help would be appreciated.
vivek
 
Laojar Chuger
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before 2.1 there were methods in the ServletContext class that you can get information on all servlets running inside the application. The API 2.1 deprecated this group of the method and therefore you can not directly get the references of other servlets. However the API allows you use ServletContext to share information between each other.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the RequestDispatcher interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic