Steven,

As you can see from the link below, there were no HTML attachments of any
kind to your message.  And what I think we really need is your web.xml file.

http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]
he.org&msgNo=97097

The web.xml file is described in detail in the Servlet specification.
Tomcat provides web.xml examples, including
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/web.xml.txt.  Note
the <servlet-mapping> elements, which follow immediately after the <servlet>
elements.  You need to provide a <servlet-mapping> for each servlet, unless
you define the invoker servlet as I did in an earlier message.

In your case, if you have a servlet named GreetingServlet in a package
org.burrus, then you would place GreetingServlet.class in
WEB-INF/classes/org/burrus/GreetingServlet.class, and you would place the
following in web.xml:

  <servlet>
    <servlet-name>
           GreetingServlet
    </servlet-name>
    <servlet-class>
       org.burrus.GreetingServlet
    </servlet-class>
  </servlet>

  <servlet-mapping>
      <servlet-name>GreetingServlet</servlet-name>
      <url-pattern>/greeting</url-pattern>
  </servlet-mapping>

At which point /greeting should result in GreetingServlet being invoked.

        --- Noel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to