title: Wrong when use PrintWriter to write new HTML
body: <p>I used PrintWriter to do this code :</p>
  
  <pre><code>        response.setContentType("text/html;charset=UTF-8");
          PrintWriter out = response.getWriter();
          try {
              /* TODO output your page here. You may use following sample code. */
              out.println("&lt;html&gt;");
              out.println("&lt;head&gt;");
              out.println("&lt;title&gt;Update Page&lt;/title&gt;");
              out.println("&lt;/head&gt;");
  
              out.println("&lt;body&gt;");
              out.println("&lt;center&gt;");
              out.println("&lt;h1&gt;Please choose ID&lt;/h1&gt;");
              out.println("&lt;/center&gt;");
              out.println("&lt;table width='359' border='1' align='center'&gt;");
              out.println("&lt;tr&gt;");
              out.println("&lt;td width='103'&gt;ID:&lt;/td&gt;");
              out.println("&lt;th width='246'&gt;");
              out.println("&lt;select name='ID' id='ID' style='width:170px;' &gt;");
              out.println("&lt;option&gt;&lt;/option&gt;");
              out.println("&lt;/select&gt;");
              out.println("&lt;/th&gt;");
              out.println("&lt;/tr&gt;");
              out.println("&lt;tr&gt;");
              out.println("&lt;td&gt;Name:&lt;/td&gt;");
              out.println("&lt;th&gt;&lt;input type='text' name='Name' id='Name' style='width:170px;' /&gt;&lt;/th&gt;");
              out.println("&lt;/tr&gt;");
              out.println("&lt;tr&gt;");
              out.println("&lt;td&gt;Address:&lt;/td&gt;");
              out.println("&lt;th&gt;&lt;input type='text' name='Address' id='Address' style='width:170px;'/&gt;&lt;/th&gt;");
              out.println("&lt;/tr&gt;");
              out.println("&lt;td&gt;Email:&lt;/td&gt;");
              out.println("&lt;th&gt;&lt;input type='text' name='Email' id='Email' style='width:170px;'/&gt;&lt;/th&gt;");
              out.println("&lt;/tr&gt;");
              out.println("&lt;tr&gt;");
              out.println("&lt;td&gt;Phone Number:&lt;/td&gt;");
              out.println("&lt;th&gt;&lt;input type='text' name='Phone' id='Phone' style='width:170px;'/&gt;&lt;/th&gt;");
              out.println("&lt;/tr&gt;");
              out.println("&lt;tr&gt;");
              out.println("&lt;td&gt;&lt;/td&gt;");
              //=================
              out.println("&lt;td&gt;");
              out.println("&lt;div&gt;");        
              out.println("&lt;input type='submit' name='FillValue' value='Fill ID' style='float:left'/&gt;");
  
              out.println("&lt;form action='UpdateServlet' method='post'&gt;");
              out.println("&lt;input type='submid' name='Submid' value='Submit'  style='float:right'/&gt;");
              out.println("&lt;/form&gt;");
              out.println("&lt;/div&gt;");
              out.println("&lt;/td&gt;");
              out.println("&lt;/tr&gt;");
              //==============
              out.println("&lt;/table&gt;");
              out.println("&lt;/body&gt;");
              out.println("&lt;/html&gt;");
          } finally {
              out.close();
          }
  </code></pre>
  
  <p>But something wrong when I click to Submid button, the result is :</p>
  
  <p>HTTP Status 404 - /DungDV01852_Lab1_2_3/UpdateServlet</p>
  
  <p>type Status report</p>
  
  <p>message /DungDV01852_Lab1_2_3/UpdateServlet</p>
  
  <p>description The requested resource (/DungDV01852_Lab1_2_3/UpdateServlet) is not available.
  Apache Tomcat/6.0.29</p>
  
  <p>I Have class updateServlet.
  Another : I have the HTML : </p>
  
  <pre><code>            &lt;td&gt;
                  &lt;div&gt;
                      &lt;form action="FillServlet" method="post"&gt;
         &lt;input type="submit" name="FillValue" value="Fill ID" style="float:left"/&gt;
                      &lt;/form&gt;
      &lt;input type="submit" name="Submid" id="Submid" value="Submit"style="float:right"/&gt;
                  &lt;/div&gt;
              &lt;/td&gt;
  </code></pre>
  
  <p>It Run exactly, but the same when I use PrintWriter to write a new HTML is Wrong. Please help me. Thanks everyone</p>