It looks strange to me that you're using strutsstruts in your tag
library names - are you intentionally doing that?
<taglib>
<taglib-uri>/WEB-INF/strutsstruts-html</taglib-uri>
<taglib-location>/WEB-INF/strutsstruts-html.tld</taglib-location>
</taglib>
On Friday, December 6, 2002, at 09:44 AM, Hanasaki JiJi wrote:
ok.. now it is attached :)
Attached is the web.xml file that produces the below error. The below
references indicate that there may be a but 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?
Thanks.
tomcat log snip
======
...
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts-tiles.tld
at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java
:1010)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87
0)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
...
----- Root Cause -----
java.lang.IllegalArgumentException: Invalid TLD resource path
/WEB-INF/struts-tiles.tld
at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java
:1002)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87
0)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.
java:243)
...
refs:
=====
http://archives2.real-time.com/pipermail/tomcat-devel/2002-October/
040882.html
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282
http://archives2.real-time.com/pipermail/tomcat-devel/2002-October/
040849.html
--
=================================================================
= 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 =
=================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app >
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>strutsAction</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>TestServlet</servlet-name>
<display-name>test servlet display name</display-name>
<description><![CDATA[desc of testservlet]]></description>
<servlet-class>com.web.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>*.test</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>5</session-timeout>
</session-config>
<!--
To specify mime mappings, create a file named mime-mappings.xml,
put it in your project's mergedir.
Organize mime-mappings.xml following this DTD slice:
<!ELEMENT mime-mapping (extension, mime-type)>
-->
<!--
To specify error pages, create a file named error-pages.xml, put it
in your project's mergedir.
Organize error-pages.xml following this DTD slice:
<!ELEMENT error-page ((error-code | exception-type), location)>
-->
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strutsstruts-html</taglib-uri>
<taglib-location>/WEB-INF/strutsstruts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strutsstruts-logic</taglib-uri>
<taglib-location>/WEB-INF/strutsstruts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strutsstruts-nested</taglib-uri>
<taglib-location>/WEB-INF/strutsstruts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strutsstruts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<!--
To set up security settings for your web app, create a file named
web-security.xml, put it in your project's merge
dir.
Organize web-security.xml following this DTD slice:
<!ELEMENT security-constraint (display-name?,
web-resource-collection+, auth-constraint?, user-data-constraint?)>
<!ELEMENT web-resource-collection (web-resource-name, description?,
url-pattern*, http-method*)>
<!ELEMENT web-resource-name (#PCDATA)>
<!ELEMENT url-pattern (#PCDATA)>
<!ELEMENT http-method (#PCDATA)>
<!ELEMENT user-data-constraint (description?, transport-guarantee)>
<!ELEMENT transport-guarantee (#PCDATA)>
<!ELEMENT login-config (auth-method?, realm-name?,
form-login-config?)>
<!ELEMENT auth-method (#PCDATA)>
<!ELEMENT realm-name (#PCDATA)>
<!ELEMENT form-login-config (form-login-page, form-error-page)>
<!ELEMENT form-login-page (#PCDATA)>
<!ELEMENT form-error-page (#PCDATA)>
-->
</web-app>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user