users@glassfish.java.net

redirecting the default context root to...

From: <glassfish_at_javadesktop.org>
Date: Fri, 10 Jul 2009 14:39:39 PDT

Hi Guys,

I was an ear to deploy which has both ejb and web module. The context root for the web module is set to "controller" in the application.xml of the ear.

Now when i deploy and access the my app context it works fine. Apart from that i want the default context root to be redirected to my application i.e.,

http://localhost:8080/ should be redirecting to http://localhost:8080/controller. How can i achieve this?

Also i want the http://localhost:8080/controller also.

thanks
[Message sent by forum member 'eligetiv' (eligetiv)]

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