This content has been marked as final.
Show 1 reply
-
1. Re: Deplay Web application files without war file
adrian.brock Oct 4, 2002 6:02 PM (in response to carfield)Just create a myapp.war directory in
server/default/deploy with a
WEB-INF/web.xml containing
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
Then use http://localhost:8080/myapp/whatever
If you want it at http://localhost:8080/whatever
add a
WEB-INF/jboss-web.xml containing
<?xml version="1.0"?>
<!DOCTYPE jboss-web>
<jboss-web>
<context-root>/</context-root>
</jboss-web>