Hi Bill

Make sure you have these 2 things:
In tour web.xml declare your RedirectFilter like this:
  <filter>
    <filter-name>redirect</filter-name>
    <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
    <init-param>
      <param-name>redirect-path</param-name>
      <param-value>/home</param-value>
    </init-param>
  </filter>

then in "yourapp".application include this line:
<meta key="org.apache.tapestry.servlet-path" value="/home"/>

I think that's all you need.

Saludos.
Alejandro.

On 10/5/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
> I haven't seen a lot of coverage on this recently.
>
> We have configured friendly urls for services with the usual .svc
> extension.  In our web.xml, we  map "/home" to the tapestry servlet
> rather than "/app".  The service links look fine (e.g.,
> http://host/restart.svc) but winds up redirected to
> /app?service=restart.  This would be ok if we had the default mapping
> of /app to the tapestry servlet, but we need /home.
>
> Is there a resolution for this for Tapestry 4.1.2?
>
> Bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to