struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Sapozhnikov" <>
Subject Re: Struts1/Tiles and Struts2/tiles in same app
Date Sun, 26 Aug 2007 01:09:33 GMT
Well there are definitely some tutorials on the net how to start this thing
with Tiles2. You have to include a servlet in web.xml and make sure to put a
result type to struts.xml and when you want to use tiles just use result
type tiles. Also make sure all your necessary jars are in place. I heard s2
plugin is not really necessary however I dont know how to do tiles without
that plugin. Then also have your tiles.xml file and put definitions there
make sure you have your base layout page then it struts.xml whatever you
name your definition in tiles.xml you point your result to it. You can also
point right to a jsp but I also dont know how to do that. But I definately
know that tiles.xml defintions work cuz I've tried it myself so. Good luck.

On 8/25/07, Darryl Thompson <> wrote:
> Hello,
> I have production application written using Struts1.2 and Tiles 1, and I
> need to implement the new Struts2/Tiles 2 features within the same web app.
> I have not found any good documentation that explains how to do this. I have
> created a simple Struts1/Tiles1 app that also has Struts2/Tiles2 in it. I am
> able to access the Struts1/Tiles1 components and I can even get to the
> Struts2 actions but the Struts2 app cannot get to the Tiles2 definitions.
> Can any provide a sample app or config info on how its done?
> Many thanks
> Darryl

Pavel Sapozhnikov
xFact, Inc

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message