aspose file tools*
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
Author

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?
jspplayingdir
| |
| \---WEB-INF
| \--Classes
| | |---VectorDataTag
| | |---VectorDataTEI
| | |---tag-template.tld
| |
| \---lib
| | |--- importedjar.jar
| |
| |---web.xml
|
|--somejsppage.jsp
thanks
Chris


SCJP 1.2, SCJP 5, SCBCD
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
do you have something in your web.xml like
<taglib>
<taglib-uri>blah</taglib-uri>
<taglib-location>blah</taglib-location>
</taglib>
?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: errors while importing tag library