File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
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: 16621

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

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Custom tags in JSP