This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60050
    
  65

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


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