i forgot to answer your question : an endless loop such as you described
should not happen, since the "/" mapping is the last one that is checked.
so *.vm, *.jsp, etc. would still work as usual.
Selon Jerome Leclercq <[EMAIL PROTECTED]>:
>
> if you want to map all requests, you must specify "/" instead of "*".
>
> as with maverick's dispatcher behaviour, if you look in method
> extractCommandName(), you'll find this code :
> int period = path.lastIndexOf(".");
> path = path.substring(firstChar, period);
> which would fail if path does not contain a period.
> fixing that shouldn't be too hard ;)
>
> jerome
>
> Selon "Shackelford, John-Mason" <[EMAIL PROTECTED]>:
> >
> > If I have do something like this:
> >
> > <servlet-mapping>
> > <servlet-name>dispatcher</servlet-name>
> > <url-pattern>*</url-pattern>
> > </servlet-mapping>
> >
> > will all of the dispatcher's attempts to forward a request wind up back
> in
> > the dispatcher itself. Is this a recipie for a perpetual motion webapp or
> > is
> > there something I don't understand about servlets?
> >
> >
> > John-Mason Shackelford
> >
> > Software Developer
> > NCS Pearson - Measurement Services
> > 2510 North Dodge St.
> > Iowa City, IA 52245
> > 319-354-9200x6214
> > [EMAIL PROTECTED]
> >
> >
> >
> ****************************************************************************
> >
> > This email may contain confidential material.
> > If you were not an intended recipient,
> > Please notify the sender and delete all copies.
> > We may monitor email to and from our network.
> >
> ****************************************************************************
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Mav-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/mav-user
> > Archives are available at http://www.mail-archive.com/
> >
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user
> Archives are available at http://www.mail-archive.com/
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/