On Tue, 21 Jan 2003, alexj wrote:

> Date: Tue, 21 Jan 2003 20:27:04 +0100
> From: alexj <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: org.apache.jasper.JasperException: File
>     "/WEB-INF/struts-bean.tld" not found
>
> Hi got this error when I deploy my app to Tomcat 4.1.18.
> In my pages I've declared :
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
>
> I look if my WEB-INF folder includes the correctly taglib and they are
> include.
> I'm using struts-1.1-b2 . I've read a previous post about another way
> to declare taglib and I've try this way to :
>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0"%>
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-1.0"%>
>

As of 1.1b3 (but I don't remember how much earlier we changed) the
official URIs for Struts tag libraries do not have the version numbers in
them, so this should be:

<%@ taglib prefix="bean" uri="http://jakarta.apache.org/struts/tag-bean"; %>
<%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tag-html"; %>

Of course, you can use any prefix -- these are just the typical values.

> But this one don't work to.
>
> Any idea ??
>

To find out the correct URI to use for your version of Struts, look at the
TLD files themselves and locate the <uri> element.

> <--
> Alexandre Jaquet
> ->

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to