This content has been marked as final.
Show 6 replies
-
1. Re: document root, Host-tag
gorano Jun 3, 2004 9:48 PM (in response to brasse)Add the file jboss-web.xml in your WEB-INF
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>/context-root>
</jboss-web> -
2. Re: document root, Host-tag
brasse Jun 4, 2004 11:32 AM (in response to brasse)I put a file called jboss-web.xml in ROOT/WEB-INF. This is what that file looked like:
<?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/</context-root> </jboss-web>
This did not work however. I still get the error messages I described earlier. Did I put the file in the correct WEB-INF directory?
:.:: mattias -
3. Re: document root
brasse Jun 7, 2004 7:19 AM (in response to brasse)OK. I have done some more investigation.
If I rename my ROOT directory to ROOT.war and have the jboss-web.xml file in the WEB-INF directory I can access foo.jsp with something like http://localhost/foo.jsp.
Is there any way that I don't have to name my directory ROOT.war or any other name not having the .war siffix?
:.:: mattias -
4. Re: document root, Host-tag
starksm64 Jun 7, 2004 10:53 AM (in response to brasse)No, not without modifying the war deployer.
-
5. Re: document root, Host-tag
toni Sep 30, 2004 3:18 AM (in response to brasse)Is this also true for jboss 4 ?
-
6. Re: document root, Host-tag
starksm64 Sep 30, 2004 9:29 AM (in response to brasse)Yes, its true for jboss-4.0.0 as well.