• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 and tiles

 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks once again Dave for your replies

Regards,
Amit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic