<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: {  doGet( request, response ) ; }}    The above servlet is as bare bones as it gets. It is important to note that you do not have to override the doGet or doPost methods if you instead override the  service method and handle all requests there. This would not be considered good form in servlet design, but it is an option. In the next section we will see that  a minimal JSP-generated servlet is a bit different since the doGet and doPost methods do not exist.   Writing a Minimal JSP-Generated Servlet   The nuts and bolts of a JSP-generated servlet are dependent on the JSP-to-servlet translator used with a particular Web server. Listing 8-2 shows a rather  simple JSP page in which Tomcat 3.2 generated the servlet. However, this page is not the simplest because it has actual JSP scripting elements   a simple  page would have nothing but static text.   Listing 8-2: A simple JSP page with a couple of scripting elements        Minimal JSP Page</title>
	<link>http://jsp.virtualwebstudio.com/2007/11/25/doget-request-response-the-above-servlet-is-as-bare-bones-as-it-gets-it-is-important-to-note-that-you-do-not-have-to-override-the-doget-or-dopost-methods-if-you-instead-override-the-service-method-and/</link>
	<description>JSP In Your Hand</description>
	<pubDate>Fri, 18 May 2012 11:15:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

</channel>
</rss>

