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 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet to servlet" Watch "servlet to servlet" New topic
Author

servlet to servlet

raghavender rao
Ranch Hand

Joined: Jul 20, 2001
Posts: 45
hi ther,

i want to call Testservlet2 in Testservlet1 using URL Class...
like
URL url = new URL("/servlet/TestServlet2");
(without using res.sendRedirect())
i kn tht i can make use of URL class and AppletContext in Applets to showDocuments ....but i want to kn how do we make use of URL class in servlets to call another servlet....

Rao


Rao<BR>Sun Certified Programmer for the Java��� 2 Platform
 
Don't get me started about those stupid light bulbs.
 
subject: servlet to servlet