You might want to look into the Module concept introduced into the recent version of Struts. It would probably help out nicely. (*Chris*)
On 9/21/06, Hartley, John <[EMAIL PROTECTED]> wrote:
(Warning... Almost Newbie) I am responsible for a typical Struts application that uses JSPs, Common Controls, etc., and runs on Websphere and Weblogic. I am now developing a new application that will have basically the same front-end as the first application, (but will have rather different back-end processing). My problem is a customer requirement that says there must be a "main menu" page which will provide links to BOTH applications, (when both are installed and the user is authorized. Single sign-on is also a requirement). Since I am fairly new at web application development, I do not know the best way to construct these applications (or application?) such that the user can link to either application (and back again). I have been warned that trying to link separate Struts applications is risky given the need for absolute URLs. I am aware that I could easily merge the apps into one Struts app using Modules but this may not be ideal from a marketing/code control/distribution point of view. So, can those with experience doing this sort of thing please set me straight on how to best structure these apps and meet the requirements? TIA jrh [EMAIL PROTECTED]