[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: TLD not found
From:       "Craig R. McClanahan" <craigmcc () apache ! org>
Date:       2002-10-31 17:18:24
[Download RAW message or body]



On Thu, 31 Oct 2002, Affan Qureshi wrote:

> Date: Thu, 31 Oct 2002 18:55:01 +0500
> From: Affan Qureshi <quereshi@etilize.com>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: struts-user <struts-user@jakarta.apache.org>
> Subject: TLD not found
>
> I get the following error when running the JSP in tomcat 4.1.12 on W2k
>
> org.apache.jasper.JasperException: null(-1,-1) File "/struts-layout" not
> found...... (and the rest of the stack trace)
>

So why is your page using "/struts-layout" instead of "/struts-bean"?

Craig


> In web.xml I have
> <taglib>
>     <taglib-uri>/struts-bean</taglib-uri>
>     <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
>   </taglib>
>
>
> On top of JSP I have
> <%@ taglib uri="/struts-bean" prefix="bean" %>
>
> However it worksfine if i give a full path in the JSP as
> <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
>
> But according to TagLib Specs the first one is also valid. Or is it not?
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic