*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Custom tags in  JSP" Watch "Custom tags in  JSP" New topic
Author

Custom tags in JSP

madhavi prasad
Greenhorn

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

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

madhaviprasad
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: 15950
    
  19

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: http://aspose.com/file-tools
 
subject: Custom tags in JSP
 
Similar Threads
Rueben or Clay??
Labels with Name in Javaranch Forum Site
Any chance that you will have a While X'mas?
Need IT Job in Canada
unable to access jsp pages