title: How to run the servlet program in NetBeans IDE?
body: <p>I am new to java servlets. I learning from the basic. I have a simple servlet program, but I don't know how to run it.</p>
  
  <pre><code>import java.io.*;
  import javax.servlet.*;
  import javax.servlet.http.*;
  
  public class HelloWorld extends HttpServlet
  {
   public void doGet(HttpServletRequest request,
   HttpServletResponse response)
   throws ServletException, IOException
   {
    PrintWriter out = response.getWriter();
    out.println("Hello World");
   }
  }
  </code></pre>
  
  <p>How can run the above program in NetBeans. I am using the netbeans6.8. What are the procedures which I have to follow?</p>