This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet init() method
 
Similar Threads
loading of static attributtes
Constructor inheritence
Final value in a Servlet
init missing in servlet
Init and Constructor