I'm working on converting a web application with 6 sub-modules from a frames-based layout - with a menu on the left, a top section, and a main body section - into a single page using Tiles to construct the pages. Time is of the essence, so for now I'm looking for the fastest way to convert the existing site, and doing it the best way later on when time permits. If the fastest way is the best way, then great.
Check out Struts in Action at your local bookstore or library - there's a whole 20 pages on how to do a migration.
Currently I'm creating a new jsp for each existing one which contains a tile:insert directive pointing to my new layout, and using a tiles:put to add the old page (renamed to xxx-body.jsp) in the body section. Is this the fastest way to do it? It definitely doesn't seem like the best since I will have double the amount of jsp's. Is there any way of using a single controller to redirect the body section to an arbitrary page in a sub-module?
You can save yourself that extra new jsp - use tiles-defs.xml to declare definitions for each page, which can inherit a basic definition.
The old page can stay with the same name, you just name it in the definition, and strip off the excess HTML in it.
Adam -- struts 1.1 + tomcat 5.0.14 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

