But are you able to share the session between this two applications?

Is it possible to use the same root for the two applications?

Simon Knott wrote:

> Yes you can.  You set up your two web modules in your application.xml (as
> you have done), and then put two entries in the default-web-app.xml as so:
>
> <web-app application="applicationName" name="firstwebappname"
> root="/firstwebapproot" />
> <web-app application="applicationName" name="secondwebappname"
> root="/secondwebapproot" />
>
> This works for us, although we can't access classes that reside within one
> web application's web-inf from the other web application.
>
> Hope that helps,
> Simon
>
> This email and any attachments are confidential and are intended only for
> the addressee. If you are not the intended recipient of this email and have
> received it in error, please notify the sender immediately by reply email
> and then delete it from your system.
>
> -----Original Message-----
> From: Mike Weissman [mailto:[EMAIL PROTECTED]]
> Sent: 26 April 2001 00:45
> To: Orion-Interest
> Subject: 2 web apps in an ear
>
> Can I deploy an ear that contains 2 .war files or 2 web apps?  I was
> able to add a 2nd web module within my application.xml.  The war expands
> correctly.  The second war is a servlet.  I cannot seem to access this
> servlet.
> When I put a second entry in my default-web-site.xml then the first does
> not work.  I am sure I am just missing a config item.
> thanx ahead of time,
> mike
> --
> ##############################################################
> Michael Weissman e-mail: [EMAIL PROTECTED]
> Clarent Corporation 303-734-5003 Fax 303-734-4244
> 1221 W. Mineral Ave.  Littleton, Co 80120
> In the land of the dark, the ship of the sun is
> drawn by the grateful dead -- Egyptian Book of the Dead
> ##############################################################


Reply via email to