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