Hi,
I do not know if this question is best asked here, however tiles are part of
Struts (even tough now can be used from other frameworks as well).
My question is relatively simple. Is it possible to have an ear file with several war files, have one of these war files the main application (with a header, body and a footer), and then using tiles the body is loaded from another war file?
A simple example that comes to my mind is this same forum (although sure not implements in this way). Imagine you have the main war files that define the sections (forum, login & register, etc). Then for each section you have a separate war file. I would want the header and footer to remain the same, but load the body contents from the other war files with the logic stated in that war file.
I am asking because do not know if it is possible, and did not find examples on the net of this. I tried a simple application on my own, trying to load the google home page in my body with tiles. However the result was
�The requested resource (/app/WEB-INF/pages/http://www.google.com) is not available�
This means it tried to load that page from inside my war file
However I am only deploying a war file at the moment and not an ear, bit afraid the same result will come.
Thanks for any comments.
Regards,
Simon J.