I can replicate this problem on my laptop as well.  When I disable the network 
connections, I recieve the same errors.  So why does struts need to go to 
http://struts.apache.org/dtds/struts-config_1_2.dtd to find the dtds??
So how can I make struts find this file locally.  
 
Thanks
 
Randall

________________________________

From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: Sat 5/28/2005 7:03 AM
To: Struts Users Mailing List
Subject: RE: Strange Error : Cannot find ActionMappings or ActionFormBeans 
collection



ahh....thanks

web.xml...no DOCTYPE here....could this be a problem??
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee 
<http://java.sun.com/xml/ns/j2ee> " 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
<http://www.w3.org/2001/XMLSchema-instance> " version="2.4" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
<http://java.sun.com/xml/ns/j2ee>  
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd 
<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd> ">

struts-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts 
Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd 
<http://struts.apache.org/dtds/struts-config_1_2.dtd> ">


struts-logic tld
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 
1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd 
<http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd> ">

struts-html.tld
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 
1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>

All my struts related  JARS are located in WEB-INF/lib. 
For example, struts.jar is located in WEB-INF/lib as well as struts-legacy.jar, 
log4j.jar, jstl.jar, jakarta-ora.jar.

Should all struts DTD's be http://struts.apache.org/dtds/struts-config_1_2.dtd 
<http://struts.apache.org/dtds/struts-config_1_2.dtd> ??? 

Thanks,

Randall



From: "Randall Svancara" <[EMAIL PROTECTED]>

> Anyway I am posting my struts config file.
> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
> Configuration 1.2//EN"
> "http://struts.apache.org/dtds/struts-config_1_2.dtd";>

I only asked for the DOCTYPE declaration, (not the whole file!) and not just
for struts-config, but for all struts-related config files.  I think
possibly one of them has the wrong DOCTYPE.

For each config file, there should be a DTD in one of the .jar files.  The
one referred to above is in struts.jar, for example.  Each of those DTDs has
an example DOCTYPE declaration.  If you use it, the system should locate the
DTD within the .jar file and not go searching for it across the network.

Where are the .jar files for this webapp?  They should be under WEB-INF/lib
for the webapp, not in any shared/global area for the container.

--
Wendy Smoak



---------------------------------------------------------------------
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