Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interservlet communication

 
venkat bagavathi subramanian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all ,
pl explain why a servlet cannot call a method in another servlet directly.
please go through this tutorial
http://novocode.de/doc/servlet-essentials/chapter3.html
and explain why an interface(BarInterface) is required??
thanks
venkat
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello venkat,
i dont think it is necessary to use interface. u can call one servlet from another without using any custom interface also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic