Okay, since you received an IO error and you are sure the file exists, is it
(the file) located on some sort of network-shared file system? Ex: NFS,
SAMBA, etc.

Regards,
David

-----Original Message-----
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 06, 2005 3:00 PM
To: Struts Users Mailing List
Subject: Re: Exception trying to read tiles definition file in JSF..


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]

Reply via email to