I was able to change the StaticFilter to use an include instead of a
forward and this allows the rewriteFilter as well as the staticFilter
to work.  However, I can't get SiteMesh to decorate the include (using
<dispatcher>INCLUDE</dispatcher>), so it's not really a solution.

Matt

On 4/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
On 4/6/07, sarat.pediredla <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am just diving into URL rewrite as I want my app to have RoR style pretty
> URLS.
>
> I noticed there is an existing rule for users as below,
>
>  <rule>
>         <from>^/user/(.*).html$</from>
>         <to type="forward">/editUser.html\?username=$1</to>
>  </rule>
>
> But when i type http://localhost:8080/user/tomcat.html , I get the
> following,
>
> http://localhost:8080/user/tomcat.html
>
> Do I have no other option than to enabled <dispatched>FORWARD</dispatcher>
> in struts mapping and disable all StaticFilter stuff? I was hoping with
> Appfuse 2.0, it would have changed?

I'll look into this now.

Matt

>
> Sarat
> --
> View this message in context: 
http://www.nabble.com/urlrewrite-problems-tf3538036s2369.html#a9876053
> 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



--
http://raibledesigns.com

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

Reply via email to