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 invoking servlet from bean class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "invoking servlet from bean class" Watch "invoking servlet from bean class" New topic
Author

invoking servlet from bean class

Francis Nijay
Greenhorn

Joined: Jun 20, 2012
Posts: 2
How can i invoke a servlet that has been defined in web.xml from a bean class?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56157
    
  13

See the java.net.URLConnection class, or reference projects such as HttpClient.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invoking servlet from bean class
 
Similar Threads
Related to bean access
calling a bean object from a servlet into a plain java class
Getting NPE !
servlet setting some value need to retrive that value in a normal java file
ServleContext In Beans