Deployment of more than one .war in the Glassfish root context

1

I have two applications that I need to deploy in GlassFish, and I'd like to know how to put the two in the root context of GlassFish itself. I know that to put an application in the root context, I put the following line in glassfish-web.xml:

 <context-root>/</context-root>

So whenever I access link my application will open. But how to deploy the two in the root context? Will I have to change the door?

    
asked by anonymous 11.06.2015 / 16:15

1 answer

0

I do not quite understand what you're up to. Either way you can go to: link (Glassfish console) and go to Applications and there you can see the different applications that you deploy. Then just choose the application you want to run Launch.

    
13.06.2015 / 00:14