Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom Tag

 
Dan Parsons
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Thread hi-jack removed. Please start your own topic for your own questions.]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic