Can I put in as many url-patterns as I want? If so, should they all be in the same servlet-mapping tag or in separate tags.






----Original Message Follows---- From: Steve Guo <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Servlet Aliases Date: Wed, 26 Feb 2003 11:59:14 -0800 (PST)


Your servlet is abc.Hello, alias is hi if you type URL /servlet/hi, or /welcomeme.xxx, it will invoke the servlet <web-app> <servlet> <servlet-name>hi</servlet-name> <servlet-class>abc.Hello</servlet-class> </servlet>

  <servlet-mapping>
     <servlet-name>hi</servlet-name>
     <url-pattern>/welcomeme.xxx</url-pattern>
  </servlet-mapping>

</web-app>

Ben Austin <[EMAIL PROTECTED]> wrote:I am using Tomcat 3.2 and 4.0 Does either version support aliases for
servlets? If so, how do I specify the aliases?






_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


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



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



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



Reply via email to