From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 01 Dec 2008 09:31:20 -0800
On 11/26/08 09:39 PM, glassfish_at_javadesktop.org wrote:
> Using the configurations from the original post:
> *******************
> Web Applications (jamwiki.org)
> - Name: jamwiki-war
> - Context Root: jamwiki-war
>
> HTTP Listeners:
> - Name: http-listener-3
> - Network Address: 0.0.0.0
> - Listener Port: 80
> - Default Web Server: jamwiki-war
>
> Virtual Server (Sample Domain Only):
> - Id: aaa-com
> - Hosts: aaa.com,www.aaa.com
> - HTTP Listener: http-listener-3
> - Default Web Module: jamwiki-war
> *******************
> In GlassFish v1, if you go to http://aaa.com, all the links does not contain the context root (jamwiki-war). Link sample:
>
> http://aaa.com/en/StartingPoints > http://aaa.com/en/Special:RecentChanges > http://aaa.com/en/Sandbox >
> In GlassFish v2 and v3, the context root (jamwiki-war) becomes part of the link. Link sample:
>
> http://aaa.com/jamwiki-war/en/StartingPoints > http://aaa.com/jamwiki-war/en/Special:RecentChanges > http://aaa.com/jamwiki-war/en/Sandbox >