This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Well, there are a number of ways to do this -- the Servlet API is the most general, I think, so I'm going to move this to our Servlets forum. You might want to get some general background information first by reading something like this.