On (2003/09/03 14:22), Jon Haugsand wrote:

> Is it possible to place simple html and/or jsp files directly to
> JBoss-3.2.1 bundled with Tomcat?  If so, where should you copy the
> files?

I don't think so.  JBoss needs to know that these files are part of a
web application to be handled by Tomcat, and Tomcat needs to know that
these files are associated with a web context.

So you'll need to slap the files into a war.

For example,

jboss/server/default/deploy/default.war:
        index.html
        example.jsp
        jboss-web.xml
jboss/server/default/deploy/default.war/WEB-INF:
        web.xml

jboss-web.xml:
        <jboss-web>
                <context-root>/</context-root>
        </jboss-web>

web.xml:
        See the Tomcat documentation:
        http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html

Ciao,
Sheldon.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to