dev@glassfish.java.net

Re: HEADS-UP: default-web-module optimization

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 30 Aug 2006 08:44:58 -0700

Bill Shannon wrote On 08/30/06 00:18,:

> It seems weird that a web app would be deployed both with a regular
> context root ("/asadmin") and with a context root of "/". Is that
> just a side effect of the current implementation? Wouldn't it be
> more natural to deploy a web app once, as the default web app, at
> the context root of "/"?


The current impl deploys a webapp that is referenced as a
default-web-app twice: once at its orginal context root ("/asadmin"),
and a *copy* of it at "/".

The proposed changes will deploy it only once, but will have it
serve both "/" and "/asadmin".


Jan

>
> Sadly, I'm not up on the details of the servlet spec around default
> web apps, but I thought it didn't say much about that case.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>