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
what is the use of servletConfig
shawn peter
Ranch Hand
Posts: 1325
1
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is the only use of servletconfig is Initializing the
servlet
?
what are the others ?
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Here is a hint:
When wondering about the function of a
Java
class or interface, examine the JavaDocs.
In this case you will see that ServletConfig has methods to let your servlet get at init parameters and the ServletContext.
Bill
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
getInitParamater() method
ServletConfig & Context ?
ServletConfig and ServletContext
Diff between ServletContext and servletConfig
context/config
More...