aspose file tools*
The moose likes Servlets and the fly likes Servlet Config and ServletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Config and ServletContext" Watch "Servlet Config and ServletContext" New topic
Author

Servlet Config and ServletContext

vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
hi all
1.where do we provide ServletConfig and ServletContext information for servlet and Application respectively?
2.what type of information is advisable to be placed in servletContext?
thanks
Vikas


Thanks
Vikas Sharma
SCJP(1.4)
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
I will encourage you to use the search facility provided in the forums.
This is one link among the many I found.
Hope this helps.


- Varun
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
1.where do we provide ServletConfig and ServletContext information for servlet and Application respectively?
ServletConfig is a wrapper for servlet configuration parameters
ServletContext is a wrapper for application-level info
2.what type of information is advisable to be placed in servletContext?
shared within the application, e.g., user count.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Config and ServletContext