File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Why be use init method
rinku jain
Greenhorn
Joined: Jan 04, 2011
Posts: 26
posted
Jun 11, 2011 09:04:39
0
what is the use of init method ???
initialization of
servlet
code can also be done within
constructor
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
1
I like...
posted
Jun 11, 2011 09:59:29
0
http://www.coderanch.com/how-to/java/ServletsFaq#lifecycle
[LEARNING bLOG]
|
[Freelance Web Designer]
|
[and "Rohan" is part of my surname]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Why be use init method
Similar Threads
getInitParameter method in ServletContext and ServletConfig
init(servletconfig)
loading of static attributtes
Difference between init and servlet constructor
Servlet's init() and destroy() method and constructors
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter