There are other ways to define a tag library, from jsp spec:

"The container searches for all files with a .tld extension under /WEB-INF or a
subdirectory, and inside JAR files that are in /WEB-INF/lib. When examining a
JAR file, only resources under /META-INF or a subdirectory are considered.
The order in which these files are searched for is implementation-specific and
should not be relied on by web applications."

so you can just extract the tld file in there. or map it in web.xml:

" The web.xml file can include an explicit taglib map between URIs and TLD
resource paths described using the taglib elements of the Web
Application Deploy-
ment descriptor in WEB-INF/web.xml. See Section JSP.3.2, “Taglib Map” for more
details."

musachy

On Tue, Oct 27, 2009 at 1:07 PM, Bhaarat Sharma <bhaara...@gmail.com> wrote:
> hello,
>
> on our app we are getting error: PWC6117: File "/struts-tags" not found
>
> App is running on Sun App Server 9.1
>
> struts2-core-2.0.6.jar is in class path of the application server.
>
> Code in the JSP:
>
> <%@ taglib prefix="s" uri="/struts-tags" %>
>
> What can we do to fix this error?
>
> I assume since the struts2 core jar is on the app server and not physically
> in our WEB-INF/lib we maybe need to reference the struts-tags in a different
> way. but how?
>
> We want to avoid putting struts2 core in our application web-inf/lib
>
> Thanks
> -bhaarat
>



-- 
Screw John Galt, who is Martin Gainty?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to