Show details for General InformationGeneral Information
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?
What is a session?
How do you use sessions with servlets?
How does a servlet container keep track of sessions?
When does a session timeout?
How does an applet communicate with a servlet?
How can you call the public methods of a servlet from within a servlet?
You are visitor number counter since December 18th, 1999.
Contact the FAQ Maintainer with any comments.