File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet to Servlet in same .war Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Servlet to Servlet in same .war" Watch "Servlet to Servlet in same .war" New topic
Author

Servlet to Servlet in same .war

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Hi all,
How can I call from one servlet to another servlet (by sending some parameters) both are resides in the same .war (web application).
Please advise me.
Thanks
Cheers
Jowsaki
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56168
    
  13

RequestDispatcher.forward()
hth,
bear


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Servlet to Servlet in same .war
 
Similar Threads
Accessing an ejb in weblogic from tomcat
To run a simple servlet in Jboss 5.1.0
Reading file from a servlet packaged in war
Communication between servlets on diff war file, but same app server
javax.servlet.ServletException: non-HTTP request or response