It's not a secret anymore!
The moose likes JSP and the fly likes Custom tags in  JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Custom tags in  JSP" Watch "Custom tags in  JSP" New topic

Custom tags in JSP

madhavi prasad

Joined: Jul 29, 2004
Posts: 17
Hi all,

I have problem in compiling My Tag handler class.Its not identifying the packages (javax.servlet.jsp,javax.servlet.tagext).
I have copied teh servlet.jar into lib folder and i have set the path also.
I dont where im going wrong.
Thanx in advance

[ August 04, 2005: Message edited by: Bear Bibeault ]

Sushma Sharma
Ranch Hand

Joined: Jun 02, 2005
Posts: 139
i think you should set the classpath...
if you are using tomcat, you can find servlet-api.jar in {tomcat_home}/common/lib and you will have to set the classpath to this jar.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Or, in tomcat5, the jar you want is TOMCAT_HOME/common/lib/jsp-api.jar

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Custom tags in JSP
It's not a secret anymore!