You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by dsf65b y b3763476b3 <sb...@hotmail.com> on 2001/06/14 15:12:35 UTC

RE: RE: [Not registered, use system identifier] - the cause of my pro

If by resources you mean these files:

	struts-config_1_0_1.dtd
	web-app_1_2.dtd
	web-app_2_3.dtd

I'm afraid I already did that, to no avail.

In fact my struts-config.xml and webapp.xml start like this respectively:

	<!DOCTYPE struts-config SYSTEM
          	"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

	<!DOCTYPE web-app SYSTEM
  		"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">


I've tried editing those so they read:

	<!DOCTYPE struts-config SYSTEM
		"file://C:/progra~1/ibm/visual~1/ide/projec~1/ibmweb~1/hosts/defaul~1/mywebapp/servlets/apache/struts/resources/struts-config_1_0.dtd">

But this resulted in that it can't even load the ActionServlet!

So it seems I'm stuck :(

brgds,
S. Bro












_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


RE: RE: [Not registered, use system identifier] - the cause of my pro

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Thu, 14 Jun 2001, dsf65b y b3763476b3 wrote:

> If by resources you mean these files:
> 
> 	struts-config_1_0_1.dtd
> 	web-app_1_2.dtd
> 	web-app_2_3.dtd
> 
> I'm afraid I already did that, to no avail.
> 
>
> In fact my struts-config.xml and webapp.xml start like this respectively:
> 
> 	<!DOCTYPE struts-config SYSTEM
>           	"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
> 
> 	<!DOCTYPE web-app SYSTEM
>   		"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
>

No, you need to use the *PUBLIC* identifiers.  See the struts-config.xml
and web.xml files from the example application.

I can guarantee that this works -- I did an online Struts demo in my
JavaOne session on web application architectures, without a connection to
the Internet.  :-)

> 
> I've tried editing those so they read:
> 
> 	<!DOCTYPE struts-config SYSTEM
> 		"file://C:/progra~1/ibm/visual~1/ide/projec~1/ibmweb~1/hosts/defaul~1/mywebapp/servlets/apache/struts/resources/struts-config_1_0.dtd">
> 
> But this resulted in that it can't even load the ActionServlet!
> 
> So it seems I'm stuck :(
> 
> brgds,
> S. Bro
> 

Craig