<goons>Arrrhhhhh The HTML email, please not the HTML email...</goons>


make a directory under webapps in the tomcat dir ( easiest just to copy an
existing dir ), your classes go in
<dir>/WEB-INF/classes, jar files in <dir>/WEB-INF/lib. HTML gifs etc in
<dir>

You don't have to but you can change <dir>/WEB-INF/web.xml so that you have
entries of the form

    <servlet-mapping>
        <servlet-name>
            yournewservlet
        </servlet-name>
        <url-pattern>
            /yournewservletpattern
        </url-pattern>
    </servlet-mapping>

    <servlet>
      <servlet-name>
          yournewservlet
      </servlet-name>
      <servlet-class>
          yournewservletclass
      </servlet-class>
    </servlet>


the <url-pattern> is what sets up the reference

http://yourcomputerhostname:8080/yournewservletpattern

so that is runs yourservletclass

cheers




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to