This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes interservlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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"
 
jQuery in Action, 2nd edition
 
subject: interservlet communication
 
Similar Threads
articles about servlet
Where to place non java files in a WAR archive?
The password is "Huh?"
Mommy, where do parameters come from?
Servlet init parameters