If you are behind a firewall or access the Internet via a proxy
server the problem may be due to Tiles trying to load the DTDs. I've
found on at least one occasion that setting the registrations for
Digester does not seem to prevent Tiles from trying to go to the
Internet to resolve the DTDs. I'm not sure why that is.
The problem surfaced for me when trying to run the unit tests. If I
was logged in to the office VPN I got the IO exception while Digester
was trying to resolve DTDs. If I was not logged in to the VPN the
tests ran just fine. Could that be your problem?
Greg
On Sep 6, 2005, at 1:59 PM, Bjørn T Johansen wrote:
Yes, I have the following in my web.xml..:
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.tiles.servlets.TilesServlet</servlet-
class>
<init-param>
<param-name>definitions-config</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
and /WEB-INF/tiles.xml exists and contains valid tiles definitions
(copied from a working
Struts project...)
BTJ
Greg Reddin wrote:
On Sep 6, 2005, at 1:40 PM, David G. Friedman wrote:
<web-app>
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
<init-param>
<param-name>definitions-config</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
The above is correct except that it appeared from your original post
that you are using Standalone Tiles. So remove "struts" from the
package name.
Greg
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]