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 Servlets access directly. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets access directly." Watch "Servlets access directly." New topic
Author

Servlets access directly.

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
Hi.
My doubt is can we access another servlet without doing servlet mapping in web.xml. If, how??
Directly in the sense forwarding from one servlet to other but without doing servlet mapping in web.xml.


Thanks and Regards.
Adeed
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 755
If you are using Servlet 3.0 container, then you could use this annotation to map the servlet without the need to fiddle with web.xml.



Jigar Naik


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets access directly.