Thanks, Chris.
But I'm not quite sure if I understand the deployment method you described.
Can you explain it with bit more details? How do I access jsps in one app
from another app?
Regards,
Victor
-----Original Message-----
From: Christopher Schultz [mailto:chris@(protected)]
Sent: Tuesday, August 07, 2007 12:35 PM
To: Tomcat Users List
Subject: Re: Access jsp from different context
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Victor,
Victor Huang wrote:
> I have 3 web app running on Tomcat -
>
> 1. web application - mywebapp.war
> 2. Component JSPs - mycomponent.war
> 3. Web site JSPs - mywebsite.war
Might I suggest a different deployment strategy?
cd $DEPLOYMENT_DIRECTORY
mkdir mywebapp
cd mywebapp
jar xf /path/to/mycomponent.war
jar xf /path/to/mywebapp.war
cd $DEPLOYMENT_DIRECTORY
mkdir mywebsite
cd mywebsite
jar xf /path/to/mycomponent.war
jar xf /path/to/mywebsite.war
This way, you have everything you need with each application, instead of
trying to sew these things together unnaturally.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuJ8c9CaO5/Lv0PARAgJ3AJ41r/FKDpRWbNanSVCa31onvniaywCfe1Ly
Ftq8Tdl7dfRNNavBQV3K90c=
=Z6Qn
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)