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.
Joined: Jul 17, 2006
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.