This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes errors while importing tag library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "errors while importing tag library" Watch "errors while importing tag library" New topic

errors while importing tag library

Chris Brat
Ranch Hand

Joined: May 22, 2003
Posts: 108
Hi again.
I declared a tag library descriptor, created my tags and set up the necessary declaration
to import my library into a jsp page.
Unfortunately I got an error saying that it couldnt find the tag (i thought the taglib descriptor
told the jsp page where to find the tag)... to get around the problem i've imported the tag
imto the jsp page and it solves the problem... is this normal? should I still have to import the tag
or should that have been done by tomcat automatically?

here is my directory structure (using netbeans 3.4 and tomcat 4.1.27) if it helps...
am thinking Im not organising my files correctly maybe?
| |
| \---WEB-INF
| \--Classes
| | |---VectorDataTag
| | |---VectorDataTEI
| | |---tag-template.tld
| |
| \---lib
| | |--- importedjar.jar
| |
| |---web.xml

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
do you have something in your web.xml like
I agree. Here's the link:
subject: errors while importing tag library
Similar Threads
mention tld file in jsp
JBuilder 6 and custom tag-libraries
TagLib Error
problem opening taglib tld
Unable to Resolve JSTL taglib Declaration