aspose file tools*
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: 363


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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet init() method