You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hanasaki JiJi <ha...@hanaden.com> on 2002/12/06 07:27:31 UTC

tld locations???

Am I reading the below error correctly?  .tld must be in the WEB-INF dir
and not in any subdir of WEB-INF?

I have put the struts tld's in /WEB-INF/struts/ and specified to find
them there in web.xml

======================


2002-12-05 23:33:41 ContextConfig[/j2eetemplate] Exception processing
TLD at resource path /WEB-INF/struts/struts-nested.tld
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts/struts-nested.tld
          at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1010)
          at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
          at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
          at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)

...

----- Root Cause -----
java.lang.IllegalArgumentException: Invalid TLD resource path
/WEB-INF/struts/struts-nested.tld
          at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1002)
          at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
          at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
          at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
          at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)


-- 
=================================================================
= Management is doing things right; leadership is doing the     =
=       right things.    - Peter Drucker                        =
=_______________________________________________________________=
=     http://www.sun.com/service/sunps/jdc/javacenter.pdf       =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=================================================================



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>