What development kit(s) needed for Servlet?

Correct me if i'm wrong, before developing the servlet, i need to download the JavaServer Web Development Kit, right?(I get this from a tutorial website) But when i try to look for downloads here i couldn't find this development kit. I was directed to this url:http://java.sun.com/products/servlet/ There are a lot of links. I don't know which is which. Currently, i have jdk1.6.0 with me, is that good enough to develop the servlet? If not, please tell me the exact location to download the JavaServer Web Development Kit. Thank You.

[544 byte] By [dex5475a] at [2007-11-26 15:40:26]
# 1

JavaServer Web Development Kit, Wrong

You actually need a servlet container such as tomcat or jboss, and an jdk.

Servlets are just normal classes..

import java.io.*;

import java.net.*;

import javax.servlet.*;

import javax.servlet.http.*;

public class NewServlet extends HttpServlet

{

protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException

{

processRequest(request, response);

}

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException

{

processRequest(request, response);

}

public String getServletInfo()

{

return "Short description";

}

}

The only difference is that the class HttpServlet, which a servlet extends,

needs a container(web server) to process the http requests.

MeTitus

Me_Titusa at 2007-7-8 21:58:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...