Make sure you have <dispatcher>FORWARD</dispatcher> on your struts
filter to catch the forward.

Matt

On 3/28/07, wnqq <[EMAIL PROTECTED]> wrote:


Sorry, my previous post uses a "redirect" which is not the best solution.

I am still trying to use a "forward". (not luck yet...)


wnqq wrote:
>
> Thank you very much. I got the following to work nicely. :)
>
>     <rule>
>         <from>^/report(.*)List.xls</from>
>         <to type="redirect">/report$1ListXLS.html</to>
>     </rule>
>
>
>
> mraible wrote:
>>
>> The easiest way is probably to add an entry to the UrlRewriteFilter
>> (WEB-INF/urlrewrite.xml).
>>
>> http://tuckey.org/urlrewrite/manual/2.6/
>>
>> Matt
>>
>>
>
>

--
View this message in context: 
http://www.nabble.com/How-to-customize-Struts2-action-extention-%22.html%22-to-%22.pdf%22-or-%22.xls%22-for-reports--tf3477247s2369.html#a9707111
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to