You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by zvonko <ma...@roomity.com> on 2005/09/08 19:43:43 UTC
Question about tag in struts-config.xml file
Hello,
In sample struts-config.xml files I'm seeing a <!DOCTYPE ...> tag that looks like this:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
The problem I'm running into is that my IDE is choking on the link. I'm assuming that somehow it's trying to go out to the url.
Can someone explain the purpose of that url to me? Can I download that file and store it somewhere on my internal network and replace the apache link with my internal location?
Thanks in advance for any help.
-----------------------------------------------------------------------------------------------------------
Broadband interface (RIA) + mail box saftey = <a href="http://Struts_User_List.roomity.com">Roomity.com</a>
*Your* clubs, no sign up to read, ad supported; try broadband internet. ~~1126201422894~~
-----------------------------------------------------------------------------------------------------------
Re: Question about tag in struts-config.xml file
Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "zvonko" <ma...@roomity.com>
> In sample struts-config.xml files I'm seeing a <!DOCTYPE ...> tag that
> looks like this:
> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
> Configuration 1.0//EN"
> "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
>
> The problem I'm running into is that my IDE is choking on the link. I'm
> assuming that somehow it's trying to go out to the url.
> Can someone explain the purpose of that url to me? Can I download that
> file and store it somewhere on my internal network and replace the apache
> link with my internal location?
> Thanks in advance for any help.
Here's the best reference I've found on what all the parts of a doctype
declaration are for:
http://www.blooberry.com/indexdot/html/tagpages/d/doctype.htm
I've never had to change the URI when editing config files with JEdit.
It downloads the DTD and caches it... without an internet connection I'd
just place the DTD in the right directory and it would be happy. I suspect
that's all you need to do for your IDE, but you'll have to figure out where
to put the file.
It would help to know what IDE you're using. :)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re:Question about tag in struts-config.xml file
Posted by zvonko <ma...@roomity.com>.
Thanks Wendy.
I appreciate the quick response. I'll check out that link.
We're using SAP's Netweaver Developer Studio. It's based on Eclipse 2.1 technology.
-----------------------------------------------------------------------------------------------------------
Broadband interface (RIA) + mail box saftey = <a href="http://Struts_User_List.roomity.com">Roomity.com</a>
*Your* clubs, no sign up to read, ad supported; try broadband internet. ~~1126228425412~~
-----------------------------------------------------------------------------------------------------------