How to specific numerous url-patterns in web.xml

Can anyone show me the correct syntax to specific numerous url-patterns for a servlet in the deployement descriptor?Thanks,James
[149 byte] By [jhodgskia] at [2007-11-27 7:33:33]
# 1

The easiest way is to follow the Struts lead

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>*.do</url-pattern>

</servlet-mapping>

or

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/do/*</url-pattern>

</servlet-mapping>

tolmanka at 2007-7-12 19:13:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...