Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error:package javax.servlet.jsp.tagext does not exist

 
Vardhan Muthineni
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
While compiling iam getting the msg as:
"package javax.servlet.jsp.tagext does not exists"
how this package can be included.can any one give suggession for this error.
I included 9 files in lib folder.

antlr.jar,
struts.jar,
commons-beanutils.jar,
commons-collections,
commons-validator,
commons-fileupoad,
commpns-digester,
commons-logging,
jakartha-ora

and I set the path to servlet-api.jar in systemvariables.
how to rectify this
 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is system Variables
give variable name as
classpath
value as
tomcat_home\common\lib\servlet-api.jar;.;
my tomcat_home is C:\Tomcat 5.0\

and also see
java_home (variable name)
C:\Program Files\Java\jdk1.5.0(variable value)
variable value must be java standard edition directory
This is given for compiling jsp pages in tomcat as we wont compile them
 
Vardhan Muthineni
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi prasanna
I have given that apth already.Me govardhan.
U only changed in my system ,got it .
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using Tomcat, the package you mentioned is in jsp-api.jar. By default, it should be in your commons/lib directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic