On Wed, 26 Jan 2005 13:32:50 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> A Devil's Advocate says:
> 
> I agree with the theory that the webapp Context name within the application
> server "/myapp" should be available to the servlet but not the
> host/port/etc.

The assumption that a particular webapp only has one context path --
or even one host:port combination -- is not in conformance with
reality on most modern servers.  Consider, for example, how many
environments are set up such that "www.mycompany.com" and
"company.com" resolve to the same webapp.  The same sort of aliasing
of the context path  is trivially simple in any modern web server or
app server.

Application architectures based on the assumption that there is
one-and-only-one URL for the app should be rethought.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to