Hide details for General InformationGeneral Information
What is a Java servlet?
What's the difference between an applet and a servlet?
What are the benefits of servlets?
What is a Server-Side Include(SSI)?
What is a servlet chain?
What is a Java Server Page(JSP)?
Hide details for Developing a ServletDeveloping a Servlet
What's the general structure of a servlet?
How do you handle both HTTP GET and POST requests in the same servlet?
What does a simple Hello World-servlet look like?
What is a request parameter?
How do you retrieve a request parameter?
Why do you get a compile warning that says that getParameter() is deprecated?
What is an initialization parameter?
How do you retrieve an initialization parameter?
What's the difference between a request parameter and an initialization parameter?
How do you get information about the server?
How do you find out what client machine is making a request to your servlet?
What is extra path information?
How do you retrieve extra path information?
What is the structure of the HTTP response?
What are some common status codes?
How do you return a status code?
When should you redirect a request to a different URL?
How do you redirect a request to a different URL?
How do you handle errors in a servlet?
What is a cookie?
How do you send a cookie to the browser?
How do you retrieve a cookie?
You are visitor number counter since December 18th, 1999.
Contact the FAQ Maintainer with any comments.