Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
init() about servlet life cycle ?
Rajesh Khan
Ranch Hand
Posts: 230
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When a
servlet
is loaded which one is actually called - I still cant get this concept ??
public void init(ServletConfig config)
or
public void init()
Tim Moores
Saloon Keeper
Posts: 7585
176
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Which one is part of the
Servlet
interface? What do you deduce from that?
Tim Moores
Saloon Keeper
Posts: 7585
176
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What do you deduce from that?
Also, have you read the javadocs of the GenericServlet.init() method?
Vicky Vijay
Ranch Hand
Posts: 125
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Rajesh,
Refer the below link,
SERVLET LIFE CYCLE
http://www.servletworld.com/servlet-tutorials/servlet-life-cycle.html
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Starting a thread when an application is started
why init() method is not final?
Servletcontext object to actionservlet in struts
Constructor in servlets
Unable to get init parameters in servlet
More...