Hi ranchers! I am trying to get a sun's sample custom tag working.But when i try to complile the HelloTag.java ,I get the following error: HelloTag.java:4: package javax.servlet.jsp does not exist import javax.servlet.jsp.*; ^ HelloTag.java:5: package javax.servlet.jsp.tagext does not exist import javax.servlet.jsp.tagext.*; Why is this happening ?I have made the necessary changes to the classpath & put the servlet.jar file in both jdk1.3/lib & tomcat/common/lib Are there any other changes to made?
Hi all!After numerous unsuccessful attempts ,one of my friends suggested to open the servlet.jar file .So i opened it using Winzip & extracted all the class files to a folder.But when I try to decompile the class files using a decompiler I am not able to do so GEt the following erreor: File does not have access File not existing Or FILE IS CORRUPTED Have any of u decompiled the class files in servlet.jar & if so how?PLz let me know.
Joined: Mar 22, 2002
hi Vedhas i have a similar problem as u, my java file also is not compiling but now my errors have come down after i corrected my classpath in my autoexec.bat and included my working dir there try and see if that helps for u 2
Joined: Jan 27, 2001
Hi taash & everyone! I have made the necessary changes to my environment variables(NT) have included tomcat\common\lib , jdk1.3\lib ,myappDir,tried including servlet.jar from both jdk1.3 & tomcat dirs but still the problem persists. Now. is my servlet.jar corrupt or am i doing something wrong???