Prefer / or /app/* over /main in servlet examples

This commit is contained in:
Chris Beams
2011-06-16 22:42:50 +00:00
parent 5dc2d56600
commit e79e08d7f7
2 changed files with 5 additions and 5 deletions

View File

@@ -204,10 +204,10 @@ public class AppConfig {
</init-param>
</servlet>
<!-- map all requests for /main/* to the dispatcher servlet -->
<!-- map all requests for /app/* to the dispatcher servlet -->
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/main/*</url-pattern>
<url-pattern>/app/*</url-pattern>
</servlet-mapping>
&lt;/web-app&gt;</programlisting></para>
</section>