wood burning stoves*
The moose likes Servlets and the fly likes servlet config 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 config" Watch "servlet config" New topic
Author

servlet config

Mahender allam
Greenhorn

Joined: Apr 19, 2007
Posts: 9
what is servletcong &servlet context?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

There is no such thing as a servletcong. For other classes please reference the API documentation for the respective classes.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

see Servlets FAQ definitely give you some idea on it.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
NareshA WaswaniA
Greenhorn

Joined: Feb 26, 2007
Posts: 9
ServletCongig object is per servlet or jsp which contains specifiv information about that servlet or jsp. you can pass this information in the web.xml file's <init-param> tag of the <servlet-tag>.

ServletContext object for the application per JVM. You can pass input to this object from the web.xml file using the <context-param> in the <web-app> tag. This object can be accessed by all the web components as it is one per JVM.

ServletConfig object of one servlet or jsp can not be accessed by other web component.

Any more doubts.
+91-9986461501
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet config
 
Similar Threads
Capturing Form Data
javascript, servlets and SVG
Export in Excel
How can I change the sdk version of Websphere 4 if I already install it
Is there any way to get Servlet Init Parameter using EL?