File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 5 can not find Tag-Libs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5 can not find Tag-Libs" Watch "Tomcat 5 can not find Tag-Libs" New topic

Tomcat 5 can not find Tag-Libs

Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
Here is an excerpt from my web.xml file that define alias and location of one of several struts tag-libs:
(Note that following code is located at the proper place inside web.xml.)

In my JSP page I'm using:
<%@ taglib uri="/struts-html.tld" prefix="html" %>

Problem with Tomcat 5.0.18:
Exception report
The server encountered an internal error () that prevented it from fulfilling this request
org.apache.jasper.JasperException: File "/WEB-INF/tag-libs/struts/struts-html.tld" not found

I'm using IDEA 4.x
Why Tomcat 5.0.18 cannot find Struts tag-libraries?
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Well, let's take things at face value first: do you have a file /WEB-INF/tag-libs/struts/struts-html.tld in your application?

- Peter
Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
Of course, I do.
I agree. Here's the link:
subject: Tomcat 5 can not find Tag-Libs
It's not a secret anymore!