This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts 2 and tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 and tiles" Watch "Struts 2 and tiles" New topic
Author

Struts 2 and tiles

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 512
Hi there,
I had developed a application using struts 1.2.4 and tiles ( dont remember the version) a while ago.
My question is
In Struts 2 are there any changes to tiles framework. The reason being I had encountered few problems mainly in exception handling while using Tile and TileController framework for our project.
Also if this book covers those changes?
Thanks and regards,
Amit
[ November 14, 2008: Message edited by: amit punekar ]

Regards,
Amit
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The book doesn't cover Tiles integration.

Struts 2 uses Tiles 2; there are significant changes between Tiles 1 and 2. The Tiles documentation is the appropriate place for Tiles issues; it is no longer directly connected to the Struts framework.

Dave
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 512
Hi Author,
Thanks for your prompt reply.
Is there any reason behind dropping out tiles from struts framework?
It might be hard then to move from our struts-tile implementation on Struts 1.2.4 to next version.

regards,
Amit
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Tiles was moved out of Struts because Tiles should always have been framework-neutral; there's absolutely no reason to keep it tied to Struts.

Moving Tiles out of Struts isn't what impacts the transition, it's that there are non-backwards compatible changes that increase its functionality. If it's too much work or the ROI is too low then there's no reason to upgrade the Tiles version anyway, no?

Dave
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 512
Thanks once again Dave for your replies

Regards,
Amit
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 and tiles