Custom Tags
Hola, estaba entrando en el mundo de las JSP Custom Tags y no hay manera de hacer ni una maldita HolaMundo.
El problema que me da és el siguiente error:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated.
An error occurred at line: 8 in the jsp file: /Hello.jsp
Generated servlet error:
C:Archivos de programaApache Tomcat 4.0worklocalhostprovesHello$jsp.java:59: Class org.apache.jsp.HelloTag not found.
HelloTag _jspx_th_first_hello_0 = new HelloTag();
^
An error occurred at line: 8 in the jsp file: /Hello.jsp
Generated servlet error:
C:Archivos de programaApache Tomcat 4.0worklocalhostprovesHello$jsp.java:59: Class org.apache.jsp.HelloTag not found.
HelloTag _jspx_th_first_hello_0 = new HelloTag();
^
2 errors, 1 warning
¿Alguien sabe por dónde van los tiros?
Parece que no encuentra la clase HelloTag
la he compilado con:
c:javac -classpath :tomcatcommonlibservlet.jar HelloTag.java
¿Algún experto me puede ayudar?
Gracias
joan
El problema que me da és el siguiente error:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: No se puede compilar la clase para JSPNote: sun.tools.javac.Main has been deprecated.
An error occurred at line: 8 in the jsp file: /Hello.jsp
Generated servlet error:
C:Archivos de programaApache Tomcat 4.0worklocalhostprovesHello$jsp.java:59: Class org.apache.jsp.HelloTag not found.
HelloTag _jspx_th_first_hello_0 = new HelloTag();
^
An error occurred at line: 8 in the jsp file: /Hello.jsp
Generated servlet error:
C:Archivos de programaApache Tomcat 4.0worklocalhostprovesHello$jsp.java:59: Class org.apache.jsp.HelloTag not found.
HelloTag _jspx_th_first_hello_0 = new HelloTag();
^
2 errors, 1 warning
¿Alguien sabe por dónde van los tiros?
Parece que no encuentra la clase HelloTag
la he compilado con:
c:javac -classpath :tomcatcommonlibservlet.jar HelloTag.java
¿Algún experto me puede ayudar?
Gracias
joan