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 way of initializing varialbes in Servlet 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 "way of initializing varialbes in Servlet" Watch "way of initializing varialbes in Servlet" New topic
Author

way of initializing varialbes in Servlet

Ahmed Shaikh
Ranch Hand

Joined: Jul 25, 2005
Posts: 51
Hi All,
Any one please tell the different ways of initializing variables in servlet;

Thanx in advance
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

In what way ie what are you trying to accomplish?
Ahmed Shaikh
Ranch Hand

Joined: Jul 25, 2005
Posts: 51
I want to know how We can "Initialized variables in servlet ".
Is there any way of initializing variable sin servlet.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

The fact that you cannot clarify your question leads me to suspect that it's a homework question. Am I correct?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: way of initializing varialbes in Servlet
 
Similar Threads
ServletContextListener and jspInit
why we cant't use constructor for initializing servlet
what is the use of servletConfig
init() method ........
Why init() when there is constructor?