Yes, that did the trick... :) But isn't there another way setting this up so it's not dependent on having an internet connection and that the site is actually up??
BTJ Greg Reddin wrote: > Does this one work? > > http://struts.apache.org/dtds/tiles-config_1_1.dtd > > I still don't understand why the registration feature of Digester > wouldn't get around this issue. > > Greg > > On Sep 6, 2005, at 3:35 PM, Bjørn T Johansen wrote: > >> Or it might.... >> What is the correct uri for the dtd? The one I am using, is not >> working.. >> (http://apache.org/dtds/tiles-config_1_2.dtd) >> >> >> BTJ >> >> Bjørn T Johansen wrote: >> >>> Nope, I access the internet without any problems, so that is not the >>> case here... >>> >>> BTJ >>> >>> Greg Reddin wrote: >>> >>> >>>> 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]