This content has been marked as final.
Show 2 replies
-
1. Re: Disable Jetty Welcome page..!?
jonlee Jun 18, 2003 6:59 AM (in response to hgarrett)Assuming you are using the embedded Jetty, just override it with your own root context. For example, put a ROOT.war sub-directory in the JBoss deploy directory.
Ensure you have the necessary structure for a WAR in ROOT.war.
In the ROOT.war/WEB-INF/jboss-web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd">
<jboss-web>
<context-root>/</context-root>
</jboss-web>
Add a web.xml with the configurations you want for this context.
Now you can put an index.html with the content you want to be seen. Just put your static content as would for a normal WAR in ROOT.war.
Hope that helps. -
2. Re: Disable Jetty Welcome page..!?
hgarrett Jun 18, 2003 10:25 AM (in response to hgarrett)Yes it works JonLee !
Thanx again! ;)