Thanks for the tips! I'd like to migrate a large jsp-centric app to Maverick
incrementally. If I can pass most requests though but catch a few, I will be
able to start small and perhaps convince other developers here of the value
(and ease) of implementing an MVC architecture.


John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
[EMAIL PROTECTED]



-----Original Message-----
From: Jerome Leclercq [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 25, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Dumb Question #1



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 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/

Reply via email to