Results 1 to 2 of 2

Thread: servlet

  1. #1
    kondalrao.p is offline Member
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0

    Lightbulb servlet

    plz tell me that the difference between servlet context object and config object with example.

    kondalrao

  2. #2
    sagarbirari is offline Member
    Join Date
    Sep 2008
    Posts
    17
    Rep Power
    0

    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

Similar Threads

  1. help in servlet
    By thamizhisai in forum Advanced Java
    Replies: 4
    Last Post: 05-20-2008, 06:10 AM
  2. Servlet
    By banie in forum New To Java
    Replies: 6
    Last Post: 04-11-2008, 05:18 PM
  3. How to mix servlet & JSP
    By Swamipsn in forum Java Servlet
    Replies: 1
    Last Post: 08-08-2007, 12:57 AM
  4. Replies: 1
    Last Post: 08-07-2007, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •