How to run the servlet program in netbeans IDE?
        Posted  
        
            by Venkats
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Venkats
        
        
        
        Published on 2010-04-20T07:36:42Z
        Indexed on 
            2010/04/20
            7:43 UTC
        
        
        Read the original article
        Hit count: 711
        
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.
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");
 }
}
How can run the above program in netbeans. I am using the netbeans6.8. Whats are the procedures which i have to follow? Thanks in Advance.
© Stack Overflow or respective owner