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?
taash mg
Ranch Hand
Joined: Mar 22, 2002
Posts: 106
posted
0
hi Vedhas even i have a similar problem in making a custom tag work .see my post here. if u find some answer please do let me know too
Thanks
Cheers<p>Taash<br />SCJP2
Vedhas Pitkar
Ranch Hand
Joined: Jan 27, 2001
Posts: 445
posted
0
Hi taash! My problem is a bit different than urs .U were having probs with the web.xml file & the tld but i cant compile the .java file containing the tag desc.Can anyone help me?
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.
taash mg
Ranch Hand
Joined: Mar 22, 2002
Posts: 106
posted
0
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
Vedhas Pitkar
Ranch Hand
Joined: Jan 27, 2001
Posts: 445
posted
0
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???