According to the strategies of URL Mapping there are only 4 types of URL
Pattern RULE - URL Pattern
1) Exact Match - /directory1
2) Path Match - /directory1/directory2/*
3) Extension Match - *.jsp OR *.do OR *.htm OR *.html
4) Default - / (i.e. the Context Root or the Default Servlet)
So,
<url-pattern>/</url-pattern>
is the default mapping
and
there's nothing like
<url-pattern>/*</url-pattern>
this must be re-written as
<url-pattern>/this_must_be_some_directory/*</url-pattern>
NOTE :: And one more thing URL Patterns are case Sensetive
(If any one can provide some more and better information on this than that will be a great help for me also)
---------------------------------------------------------------------------
Regards,
K.Anutosh
SCJP 1.4
[ September 20, 2007: Message edited by: Anutosh Swamy ]