Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-07-2008, 05:45 AM
Member
 
Join Date: Jun 2008
Posts: 1
Rep Power: 0
kondalrao.p is on a distinguished road
Lightbulb servlet
plz tell me that the difference between servlet context object and config object with example.

kondalrao
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-06-2008, 02:10 PM
Member
 
Join Date: Sep 2008
Posts: 17
Rep Power: 0
sagarbirari is on a distinguished road
Default
Both are interfaces.

The ServletConfig interface is implemeneted by the servlet engine in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface to the servlet's init() method.

The ServletContext interface provides informaion to servlets regarding the enviornment in which they are running. It also provides standard way for servlets to write events to a log file.

Regards
__________________
Sagar Birari
Development & Technical Blog
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help in servlet thamizhisai Advanced Java 4 05-20-2008 07:10 AM
Servlet banie New To Java 6 04-11-2008 06:18 PM
How to mix servlet & JSP Swamipsn Java Servlet 1 08-08-2007 01:57 AM
javax.servlet.ServletException: Wrapper cannot find servlet class util.t2 osval Advanced Java 1 08-07-2007 04:47 PM
Servlet Example JavaForums Java Blogs 0 08-04-2007 11:56 PM


All times are GMT +2. The time now is 09:30 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org