It's not a secret anymore!
The moose likes Servlets and the fly likes Servlet init() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet init() method " Watch "Servlet init() method " New topic
Author

Servlet init() method

Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Normally, your first request invokes Servlet's init() method. But can anybody tell me how to invoke init() method by configuring some parameter from web.xml?
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
If it is 0 value in the tag then only init() method wil be invoked?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Servlet init() method
 
It's not a secret anymore!