Results 1 to 3 of 3

Thread: Simple Question: Whats a Servlet? [RESOLVED]

  1. #1

    Thread Starter
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332

    Red face Simple Question: Whats a Servlet? [RESOLVED]

    what is a servlet? is it anything like an applet but server-side or something?
    Last edited by CaptainPinko; Jan 24th, 2002 at 10:28 AM.
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  2. #2
    Member hgroot's Avatar
    Join Date
    Dec 2001
    Location
    Amsterdam
    Posts
    52
    That's right. A servlet runs on your webserver and processes HTTP messaging. Intended for dynamic data on your site. Useful to support downloads.

  3. #3
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    Aye, aye Captain!!

    A servlet is a Java class file that runs within a JVM on the webserver. The webserver can be instructed to pass special types of files only through the servlet, or a client can directly invoke a servlet.

    At the first request from a client for a servlet, the webserver loads an instance of the servlet into memory, and henceforth all client calls to that servlet are handled by this object instance. So there are less overheads in creating and destroying object instances. This feature claims servlets to be better than CGI programming.

    Also the Java security manager makes servlets web-server friendly, and so are claimed to be better than ASP and other such technologies.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

Posting Permissions

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



Click Here to Expand Forum to Full Width