Or actually you can just get it from your project structure, depending upon your jsp and tld location.

Say your jsp is in WebRoot/   [[ webRoot/abc.jsp ]]
and your tld is lying in web-Inf/struts-logic.tld {usual tooling/user practice}

Then you can access the .tld as
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

I wonder why you dont have the actual .tld files in the web-inf folder
of your webApp. If you actually don't then you can get them from Struts download site.
Hope it helps,
regards,
robin

Paul Benedict wrote:
The taglib URI should be the the http:// address, not the /META-INF location. If you are unsure what the address is, open up the TLD files and see.

-- Paul

Bruno Melloni wrote:
I have a strange problem, with Struts 1.3.5 in Eclipse 3.2. - struts-taglib-1.3.5.jar is in the classpath. - Inside the jar, in /META-INF/tld are the struts tld files. - I have the following in index.jsp:
    <%@ taglib uri="/META-INF/tld/struts-logic.tld" prefix="logic"
%>
    <logic:redirect forward="welcome" />
- Eclipse whines about the tag not being known.  I even tried replacing
the URI with "http://struts.apache.org/tags-logic";, but no cigar.

Any idea what is going on, and how to fix it?

Thanks,

Bruno

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



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



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

Reply via email to