Two Laptop Bag*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Custom Tag" Watch "Custom Tag" New topic
Author

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


MyFunctions.java located in WEB-INF\classes


web.xml


main.jsp



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

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: 64

[Thread hi-jack removed. Please start your own topic for your own questions.]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Tag