When I deploy my web application to linux/jboss3.2/tomcat1.4.2, the path doesn't seem to work correctly.
I access the application in winxp by
but in linux I have to do
because the war file is example.war, so i had to specified example/index.html
but then in linux it would give me errors like
Mapping configuration error for request URI /example/welcome.gif
I think it might be because of the extra path "/example" that i specified on the link, any suggestion what might be the cause and solution? Any idea of how to config jboss, so i only have to say http://localhost:8080/index.html instead? Thanks.
You need to add jboss-web.xml as part of your servlet deployment (WEB-INF) and specify the <context-root> element. See the DTD under docs/dtd/jboss-web.dtd for more info.