File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Problem in compiling Class tag handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Problem in compiling Class tag handler" Watch "Problem in compiling Class tag handler" New topic
Author

Problem in compiling Class tag handler

Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
The below coding is not cmpiling properly:


Error


I ahve both the servlet-api.jar and jar-api.jar in the classpath.

D:\jdk1.5.0_01\lib\servlet.jar;D:\jdk1.5.0_01\lib\jsp-api.jar;.;


Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
D:\jdk1.5.0_01\lib\servlet.jar;D:\jdk1.5.0_01\lib\jsp-api.jar;.;

i believe this should be set in your class path -

D:\apache-tomcat-5.5.15\common\lib\servlet-api.jar
D:\apache-tomcat-5.5.15\common\lib\jsp-api.jar

i wonder hos did you compile your servlets prior to this
hth
[ January 21, 2007: Message edited by: Niranjan Deshpande ]

SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
I am having the servlet-api.jar and jsp-api.jar in bot the places JDK\lib\ and tomcat\common\lib and classpath is set to both..

Still I am getting the same problem
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Solved!!!

No problem with the classpath!!

I have imported the following things only:
import javax.servlet.http.*;
import javax.servlet.jsp.*;

But After included the below, it's compiling
import javax.servlet.jsp.tagext.*;

Thanks!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in compiling Class tag handler