jQuery in Action, 3rd edition
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

interservlet communication

venkat bagavathi subramanian

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
and explain why an interface(BarInterface) is required??
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"
I agree. Here's the link: http://aspose.com/file-tools
subject: interservlet communication
It's not a secret anymore!