2 Replies Latest reply on Jan 15, 2003 9:52 AM by Ryan Grier

    How to get static HTML

    Chinthaka Newbie

      I'm a new to jBoss and migrating from Tomcat 3.x. I want to use jBoss without Tomcat (using jetty), but I was not able to get a static html page using the jBoss server, so far.
      I don't know where to put these html files ( or servlets) and what xml files to configure to add context paths, etc.,
      I went through the given pdf, but couldn't understand how to do it. Please help me .

        • 1. Re: How to get static HTML
          patrick Novice

          The only place where i know of where to put files is in the server/default/deploy direcory. This is valid for jboss3.0. Maybe you have to package your static html's in a war file, but i'm not sure.

          grt Patrick

          • 2. Re: How to get static HTML
            Ryan Grier Newbie

            If you would like to serve static html pages from jetty, you will need to add the following black to your jboss-service.xml file ($JBOSS_HOME/server/default/deploy/jbossweb.sar/META-INF/jboss-service.xml):


            /
            /var/www/html/



            You will need to restart you Jboss instance for the changes to take effect. Please let me know if this helps.

            Ryan