You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stephen Souness <so...@hotmail.com> on 2007/08/15 04:24:44 UTC
tiles DTD
Hi guys,
I'm pretty sure this will have been asked before, but a bit of Googling
hasn't produced a satisfactory answer.
I'm using Struts 1.2.8 with tiles on Tomcat 5.5
Whenever I re-deploy my site some code goes off to look for the tiles
DTD file (as specified at the top of tiles-definitions.xml).
When the website that hosts that DTD is unavailable (such as right now)
the application fails to make the Struts action servlet available.
How can I remove this external dependency?
--
Stephen Souness
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: tiles DTD
Posted by Laurie Harper <la...@holoweb.net>.
It's more likely that you are using the wrong public identifier in your
document type declaration. With the wrong public identifier, the
resource (DTD file) won't be resolved locally and the parser will try to
use the system identifier to locate the resource, as a fall back.
Check that the doctype you have specified is correct for the version of
Struts/Tiles that you're using.
L.
Stephen Souness wrote:
> The post at:
>
> http://article.gmane.org/gmane.comp.jakarta.struts.user/78202/
>
> seems to go into a bit more detail about this issue.
>
> Is it possible that the version of Struts that I am using doesn't have
> the correct location(s) set up for pointing at the internal resources
> referred to in that post?
>
> Working day is over in my timezone, but I'll look into it further tomorrow.
>
> --
> Stephen
>
>
>
> Paul Benedict wrote:
>> If your code is going otu to the Internet to find the DTD, that means
>> the DTD cannot be found locally. Depending on the type of Servlet API
>> (<= 2.2), you would have to put the DTD directly in the WEB-INF
>> directly and reference a URI to that location. Otherwise, API >= 2.3
>> will be able to find it directly from your WEB-INF/lib directory.
>> Check your web.xml to see what version you're using.
>>
>> Paul
>>
>> Stephen Souness wrote:
>>> Hi guys,
>>>
>>> I'm pretty sure this will have been asked before, but a bit of
>>> Googling hasn't produced a satisfactory answer.
>>>
>>> I'm using Struts 1.2.8 with tiles on Tomcat 5.5
>>>
>>> Whenever I re-deploy my site some code goes off to look for the tiles
>>> DTD file (as specified at the top of tiles-definitions.xml).
>>>
>>> When the website that hosts that DTD is unavailable (such as right
>>> now) the application fails to make the Struts action servlet available.
>>>
>>> How can I remove this external dependency?
>>>
>>> --
>>> Stephen Souness
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: tiles DTD
Posted by Stephen Souness <so...@hotmail.com>.
The post at:
http://article.gmane.org/gmane.comp.jakarta.struts.user/78202/
seems to go into a bit more detail about this issue.
Is it possible that the version of Struts that I am using doesn't have
the correct location(s) set up for pointing at the internal resources
referred to in that post?
Working day is over in my timezone, but I'll look into it further tomorrow.
--
Stephen
Paul Benedict wrote:
> If your code is going otu to the Internet to find the DTD, that means
> the DTD cannot be found locally. Depending on the type of Servlet API
> (<= 2.2), you would have to put the DTD directly in the WEB-INF directly
> and reference a URI to that location. Otherwise, API >= 2.3 will be able
> to find it directly from your WEB-INF/lib directory. Check your web.xml
> to see what version you're using.
>
> Paul
>
> Stephen Souness wrote:
>> Hi guys,
>>
>> I'm pretty sure this will have been asked before, but a bit of
>> Googling hasn't produced a satisfactory answer.
>>
>> I'm using Struts 1.2.8 with tiles on Tomcat 5.5
>>
>> Whenever I re-deploy my site some code goes off to look for the tiles
>> DTD file (as specified at the top of tiles-definitions.xml).
>>
>> When the website that hosts that DTD is unavailable (such as right
>> now) the application fails to make the Struts action servlet available.
>>
>> How can I remove this external dependency?
>>
>> --
>> Stephen Souness
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: tiles DTD
Posted by Paul Benedict <pb...@apache.org>.
If your code is going otu to the Internet to find the DTD, that means
the DTD cannot be found locally. Depending on the type of Servlet API
(<= 2.2), you would have to put the DTD directly in the WEB-INF directly
and reference a URI to that location. Otherwise, API >= 2.3 will be able
to find it directly from your WEB-INF/lib directory. Check your web.xml
to see what version you're using.
Paul
Stephen Souness wrote:
> Hi guys,
>
> I'm pretty sure this will have been asked before, but a bit of
> Googling hasn't produced a satisfactory answer.
>
> I'm using Struts 1.2.8 with tiles on Tomcat 5.5
>
> Whenever I re-deploy my site some code goes off to look for the tiles
> DTD file (as specified at the top of tiles-definitions.xml).
>
> When the website that hosts that DTD is unavailable (such as right
> now) the application fails to make the Struts action servlet available.
>
> How can I remove this external dependency?
>
> --
> Stephen Souness
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org