aspose file tools*
The moose likes Servlets and the fly likes interservlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "interservlet communication" Watch "interservlet communication" New topic
Author

interservlet communication

venkat bagavathi subramanian
Greenhorn

Joined: Dec 21, 2003
Posts: 19
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

Joined: Sep 28, 2002
Posts: 452
hello venkat,
i dont think it is necessary to use interface. u can call one servlet from another without using any custom interface also.


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
wood burning stoves
 
subject: interservlet communication