Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.servlet.jsp does not exist

843810Jan 5 2005 — edited Jun 12 2007
Hi,

I'm having difficulty compiling a simple java class. The eror message is on an import javax.servlet.jsp statement. The specific error message is:
package javax.servlet.jsp.tagext does not exist
This is just a simple tutorial class from a J2EE book. I am confused if the servlet-api.jar file is what it needs and it isn't finding it, or if I need another file, perhaps the servlet.jar? (What is the difference between the two?)

My OS is Windows/XP
My java version is 1.4.2_06
Servlet-ap.jar exists in
C:\jakarta-tomcat-5.0.28\common\lib
My CLASSPATH is
C:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;C:\j2sdk1.4.2_06;
My JAVA_HOME variable is
C:\j2sdk1.4.2_06
My Path is
%JAVA_HOME%;%JAVA_HOME%\bin;
Thank you in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2007
Added on Jan 5 2005
9 comments
792 views