Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <url-pattern> |
Synopsis<!ELEMENT url-pattern (#PCDATA)> DescriptionThe <url-pattern> element contains the URL pattern of a mapping for a servlet. This pattern must follow the rules specified in Section 10 of the Servlet API specification and explained in Chapter 2. <servlet-mapping> <servlet-name>hi</servlet-name> <url-pattern>/hello.html</url-pattern> </servlet-mapping>
|