Antonio,
I did, I'm following the second option so I've added:
<listener>
<listener-class>org.apache.tiles.web.startup.TilesListener</listener-class>
</listener>
AND
<context-param>
<param-name>
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
</param-name>
<param-value>
/WEB-INF/tiles-defs.xml,/org/apache/tiles/classpath-defs.xml
</param-value>
</context-param>
to my web.xml. Of course the file /WEB-INF/tiles-defs.xml exists.
But i get the same exception:
org.apache.tiles.TilesException: Error including path '/fragments/front.jsp'.
The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in
either web.xml or the jar files deployed with this application
Am I missing some step?
R.
----- "Antonio Petrelli" <[EMAIL PROTECTED]> wrote:
> 2008/1/5, Roberto Riggio <[EMAIL PROTECTED]>:
> > Hi,
> >
> > Ok, i've fixed the tiles definition but i still get the same error.
> >
> > With struts 1.2 there was the following plugin definition in
> struts-config.xml:
> >
> > <plug-in className="org.apache.struts.tiles.TilesPlugin">
> >
> > <set-property property="definitions-config"
> value="/WEB-INF/tiles-defs.xml" />
> >
> > </plug-in>
> >
> > Is there anything similar for struts 2.0???
>
> Roberto, RTFM:
> http://tiles.apache.org/tutorial/configuration.html
>
> Antonio
--
--------------------------------------------------------
Roberto Riggio, PhD Student
CREATE-NET
Via alla Cascata 56/C
38100 Trento (Italy)
E-mail: [EMAIL PROTECTED]
HomePage: http://disi.unitn.it/~riggio/
Tel: +39.0461.314.960
Fax: +39.0461.314.972
--------------------------------------------------------