doubt in welcome servlets

Sasikumar Subramanian <[email protected]> Tue, 8 Feb 2005 17:46:46 +0530
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi All,

    According to Servlet 2.4 Specification (9.10), We can use servlets
as welcome file for an web module.

    <servlet>
      <servlet-name>TestServlet</servlet-name>
      <servlet-class>myweb.TestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>TestServlet</servlet-name>
      <url-pattern>/testservlet</url-pattern>
    </servlet-mapping>
    ...
    <welcome-file-list>
*        <welcome-file>testservlet</welcome-file> or
**<welcome-file>TestServlet**</welcome-file> ????????????*
    </welcome-file-list>

    My Question is which value would be specified in <welcome-file> tag.
i.e., <servlet-name> value  or <url-pattern> value??

Please clarify my doubt?

Regards,
Sasikumar S

___________________________________________________________________________
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