Deploying to an "/" context bad?
Hi,
We currently deploy our war file to a "/" context, so we can just type in www.foo.com instead of www.foo.com/bar/
Is this bad?
Any other way to deploy to a context like /bar but still get this context when you type in www.foo.com ?
Thanks
[273 byte] By [
garethka] at [2007-11-27 10:57:52]

# 1
Regarding the first question, It is not essentially bad to deploy apps to the root (default)context. But I will think it is cleaner to deploy them to their own context, in case you want to deploy more web apps in the future.
You can always redirect the requests to the root context to the appropriate context, using the redirect feature.
This is the documentation for SJS Web Server 7.0 that deal with redirects/
http://docs.sun.com/app/docs/doc/820-1061/6ncopp8u9?a=view