struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: Struts 1.1 and Tiles
Date Tue, 19 Feb 2002 17:59:43 GMT


Dave Weis wrote:

> On Tue, 19 Feb 2002, Cedric Dumoulin wrote:
> >   TilesRequestProcessor has been committed with Tiles for Struts1.1
> > since 18/02. It should be now in latest Struts nightly build. Also,
> > you can download Tiles from its main site, and choose development
> > version. It is in it (I have just check it ;-) ). Try to play with
> > tiles-doc.war.
> >   You need TilesRequestProcessor only if you use latest Struts1.1.
>
> This is what I'm trying to do, use Struts 1.1. How do I specify in the
> config that TilesRequestProcessor is necessary?

at the end of struts-config.xml, after </action-mappings> write :

  <!-- ========== Associated Request Processor settings =================== -->
  <!-- Here we specified the tiles processor -->
  <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor">
  </controller>

 Can you confirm that you have similar settings in the struts-config.xml from the
downloaded tiles-doc.war ? Otherwise, you have a wrong version.

> I downloaded tiles.tar.gz
> from your site yesterday at 4:44 pm CST.

  Looks like the good one (my site report 11h44 -1 GMT).

>

>
>
> Thanks
> dave
>
> > > On Tue, 19 Feb 2002, Cedric Dumoulin wrote:
> > > >   Do you use appropriate ComponentActionServlet and
> > > > TilesRequestProcessor (if Struts1.1) ? If not, specify the first in
> > > > web.xml and second in struts-config.xml. Check tiles-doc or
> > > > struts-tiles example to know the syntax.
> > >
> > > Sorry to be dense, but I can't find an example anywhere. This is what I
> > > have in the web.xml action:
> > > <servlet-name>action</servlet-name>
> > > <servlet-class>org.apache.struts.tiles.ActionComponentServlet</servlet-class>
> > >
> > > I can't find where to specify TilesRequestProcessor, searching the list
> > > archive didn't find any hits for that string.
> > >
> > > >   If you write modified ForwardAction, I will make it available in the
> > > > distribution.
> > >
> > > Once I figure out how to get this going, I probably will.
> > >
> > > Thank
> > > dave
> > >
> > > --
> > > Dave Weis             "I believe there are more instances of the abridgement
> > > djweis@sjdjweis.com   of the freedom of the people by gradual and silent
> > >                       encroachments of those in power than by violent
> > >                       and sudden usurpations."- James Madison
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> >
>
> --
> Dave Weis             "I believe there are more instances of the abridgement
> djweis@sjdjweis.com   of the freedom of the people by gradual and silent
>                       encroachments of those in power than by violent
>                       and sudden usurpations."- James Madison
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message