Yes, implementing your own ServletDispatcher is the best way to do this...

> -----Original Message-----
> From: Jerome BERNARD [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, September 28, 2003 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Advanced URL mapping?
> 
> 
> Hi,
> 
> I would like to be able to map some URL to some actions where part of 
> the URL is transformed as a parameter to the action.
> For example, I would like the URL 
> "http://myhost.com/article/XYZ"; to be 
> rendered as the view 
> of the action "showArticle" with the parameter 
> "articleID" set to "XYZ".
> 
> I could possibly do such a thing using Apache (and especially 
> mod_rewrite) as a proxy to the web server, but I would like 
> to handle it 
> at the Servlet level.
> 
> I am wondering what is the best way to do it... Should I extend WW 
> default ServletDispatcher?
> 
> Thanks in advance,
> Jérôme.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to