-----Mensaje original-----
De: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]En nombre de Alex
Enviado el: miércoles, 22 de agosto de 2001 16:34
Para: [EMAIL PROTECTED]
Asunto: Re: web.xml of tomcat


----- 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

___________________________________________________________________________
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