This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Custom Tag 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 Tag" Watch "Custom Tag" New topic

Custom Tag

Dan Parsons
Ranch Hand

Joined: May 30, 2007
Posts: 70
I am attempting to create my first custom tag in Tomcat 6.0.20.
I get the following error:

abc.tld located in projectOne\WEB-INF located in WEB-INF\classes



Please advise what I need to change to get this to work?
Nick White Ro

Joined: Jan 27, 2010
Posts: 15
First of all, you need to compile your java source file, then put the compiled class file in WEB-INF/classes.
Second of all, you should place the class in a package.
Ravi Sree
Ranch Hand

Joined: Jan 24, 2010
Posts: 62

[Thread hi-jack removed. Please start your own topic for your own questions.]
I agree. Here's the link:
subject: Custom Tag
Similar Threads
JSTL Syntax
EL functions
how to get .tld file working
can tld have more than 1 function signature?
Do we have write seperate .tld files for each EL?