He instalado como tres veces java, y no logro codificar programas en servlets.
Esto asi, tengo linux ubuntu version 9.10, y sigo todos los pasos para la instalacion de metodo servlets, pero me manda errores en cada linea del programa.
prog71.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
prog71.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
prog71.java:5: cannot find symbol
symbol: class HttpServlet
public class prog71 extends HttpServlet{
^
prog71.java:10: cannot find symbol
symbol : class HttpServletRequest
location: class prog71
public void doPost (HttpServletRequest request, HttpServletResponse response)
^
prog71.java:10: cannot find symbol
symbol : class HttpServletResponse
location: class prog71
public void doPost (HttpServletRequest request, HttpServletResponse response)
^
prog71.java:11: cannot find symbol
symbol : class ServletException
location: class prog71
throws ServletException, IOException{
^
prog71.java:24: cannot find symbol
symbol : variable super
location: class prog71
public void destroy(){super.destroy();};
^
7 errors
Que me estara faltando, llevo varios dias con el problema, y es mas he instalado nuevamente el sistema operativo.
Gracias alguien pudiera hechar la mano.