Hi everyone,

I am trying to attach my own web application to the
root context, ie I want to access my web application 
like this:

http://<myserver>/myindex.html

instead of:

http://<myserver>/<myapp>/myindex.html

which has been shown in the examples.


So far I have achieved this by changing this line in
default-web-site.xml:

<default-web-app application="default"
name="defaultWebApp" />

To this line: 

<default-web-app application="myapp" name="myapp" />

Also I deployed my application as an ear file and put
the following line in server.xml:

<application name="myapp"
path="../applications/myapp.ear" />

The web application seems to work as I can access
html, jsp and servlets BUT I can't get "servlet
forwards to JSP" working. It made me wonder if I've
configured the whole thing wrongly.


Thank you all

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Reply via email to