| Author |
Struts Tiles - Forwarding question
|
Angelo Bonaparte
Greenhorn
Joined: Aug 02, 2006
Posts: 19
|
|
|
I've been looking at a few Struts applications and was wondering if forwarding to a tile is better than forwarding to a jsp(that uses tiles) directly. What would be the advantage of one over the other? Thanks.
|
 |
Herman Schelti
Ranch Hand
Joined: Jul 17, 2006
Posts: 387
|
|
hi Angelo, Forwarding to a tile is a little better. If you want all of your pages to have a the same menu and header, you can: -copy/paste includes into all of your .jsp files or: -define a template with header and menu, and let other pages inherit from that template. This way you can also put all the linking to .js and .css files in just one file. Herman
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Struts Tiles - Forwarding question
|
|
|