wood burning stoves 2.0*
The moose likes Servlets and the fly likes invoking servlet from bean class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
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: 60755
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: invoking servlet from bean class
 
Similar Threads
servlet setting some value need to retrive that value in a normal java file
Related to bean access
ServleContext In Beans
Getting NPE !
calling a bean object from a servlet into a plain java class