File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!