First of all take all of your struts tlds and put them directly into WEB-INF directory
your dir structure will be WEB-INF\ struts-bean.tld struts-html.tld struts-logic.tld struts-nested.tld struts-tiles.tld now fix your web.xml as folows - <taglib> <taglib-uri>struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> - <taglib> <taglib-uri>struts-html</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib> - <taglib> <taglib-uri>struts-logic</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> </taglib> - <taglib> <taglib-uri>struts-nested</taglib-uri> <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> </taglib> - <taglib> <taglib-uri>struts-tiles</taglib-uri> <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> </taglib> and lastly, why don't you read the struts documentation? Alex. > -----Original Message----- > From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 11:50 AM > To: Tomcat Users List > Subject: Re: tld locations??? must be directly in WEB-INF - relates to > Tomcat xml parser bug > > > Attached is the xdoclet web.xml file that produces the below error. The > below references indicate that there may be a bug in the tomcat xml > parser that is exposed by the generated web.xml. > > The struts tld files are copied directly form those in a working sample > from the jakarta struts download. > > Thoughts? comments? The file looks ok to me. > > Thanks. > > Aleksandr Shneyderman wrote: > > make sure that > > <taglib-location>/WEB-INF/struts.tld</taglib-location> > > > > the /WEB-INF/ is important for some reason. > > it was working in 4.0.4 but gives a problem > > in 4.1.12 > > > > > >>-----Original Message----- > >>From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] > >>Sent: Friday, December 06, 2002 9:46 AM > >>To: [EMAIL PROTECTED] > >>Subject: tld locations??? must be directly in WEB-INF > >> > >> > >>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(ContextCo > >>nfig.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(ContextCo > >>nfig.java:243) > >> at > >>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifec > >>ycleSupport.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: > > > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- ================================================================= = 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>