aspose 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 Spring in Action this week in the Spring 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: 757
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.