----- Original Message -----
From: "Rui Pereira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 2:17 PM
Subject: web.xml of tomcat
> How can i "register" in web.xml of the WEB-INF directory more than one
> class, i can put it work with one single class, anybody have a link or
> documentation that can help me.

You could try something like

<webapps>
     <servlet>
        <servlet-name>The name of a servlet here</servlet-name>
        <servlet-class>TheNameOfYourServletClassHere</servlet-class>
     </servlet>

     <servlet>
        <servlet-name>The name of a another servlet here</servlet-name>
        <servlet-class>TheNameOfYourOtherServletClassHere</servlet-class>
     </servlet>

    <servlet-mapping>
        <servlet-name>The name of a servlet here</servlet-name>
        <url-pattern>/ola/*.xxx</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>The name of a another servlet here</servlet-name>
        <url-pattern>/ola/*.yyy</url-pattern>
    </servlet-mapping>
 </webapps>

Alex

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to