Re: URLRewrite, maybe?

2010-09-20 Thread Paweł Wielgus
Hi All, i'm using action configuration like this: action name=/conference-photo/{conferenceId}/{photoId} class=com.ppp.elsevier.struts.action.ConferencePhotoAction result type=stream param name=contentType image/jpeg / param / result / action So in your

Re: URLRewrite, maybe?

2010-09-20 Thread Greg Akins
I was hoping to use the ConventionPlugin.. but having that in the struts.xml seems to work better, in this case, than having it in UrlRewrite. Thanks for the tip. 2010/9/20 Paweł Wielgus poulw...@gmail.com: Hi All, i'm using action configuration like this: action

URLRewrite, maybe?

2010-09-17 Thread Greg Akins
I'm having a bit of a mental block on this one. Using Struts2, I want to redirect paths like example.com/Partner55/index.action to example.com/index.action after I've using a Filter to get the Partner value from the URL Can anyone help point me in the right direction? Is URLRewrite the correct

Re: URLRewrite, maybe?

2010-09-17 Thread Matt Meola
I have used URLRewrite with struts2, and it works quite well. On Fri, 2010-09-17 at 12:24 -0400, Greg Akins wrote: I'm having a bit of a mental block on this one. Using Struts2, I want to redirect paths like example.com/Partner55/index.action to example.com/index.action after I've using a