On Dec 15, 2005, at 5:14 PM, Randy Shepherd wrote:

So I am trying to get outbound url rewriting working using the Tuckey URLRewrite Filter (http://tuckey.org/urlrewrite/) with Struts 1.2.7 with Tiles 1.1.

It appears that my outbound rules are not even being evaluated when the Struts target is a tile. As a result none of my links that match the rule are being rewritten. So, if put a vanilla JSP as the Struts target in which there is a href which should be rewritten, it works. But if I define that same JSP as a tile, then have the Struts target as that tile., the url is not rewritten.

I'm not familiar with the Tuckey tool, but at first glance my hunch would be that it's related to Tiles' use of RequestDispatcher.include () as opposed to forward(), which is typically used by Struts.

Are you running under Servlet 2.3 or 2.4? If under 2.3 and the Tuckey tool is implemented as a filter then it won't be executed when the RequestDispatcher is used if my understanding is correct.

Greg


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

Reply via email to