users@glassfish.java.net

Re: How to deploy a war file as a root project of glassfish?

From: <glassfish_at_javadesktop.org>
Date: Thu, 30 Aug 2007 08:10:01 PDT

You can set your deployed application as the default web module for that virtual server.
To do this in Admin Console :

- go to Configuration -> HTTP Listeners -> http-listener-1
     look at the Default Virtual Server, by default it is set to 'server'.
- go to Configuration -> Virtual Servers -> <server>
     There is a dropdown box with the label :Default Web Module. Select your web application as the default one.

Now, you can access your project by just typing: http://localhost:8080/
[Message sent by forum member 'anilam' (anilam)]

http://forums.java.net/jive/thread.jspa?messageID=233299