The parameters interceptor has an attribute (excludeParams), that can
take a list of regular expressions. Any param whose name matches on of
the regex, will be ignored. We should make a FAQ out of this question.

musachy

On Thu, Apr 30, 2009 at 3:47 PM, Andy Sykes <a.sy...@ucl.ac.uk> wrote:
> Hi all,
>
> Is there a way to prevent OGNL from analysing GET parameters as expressions?
>
> Reason for asking:
>
> DisplayTag generates URLs like this: action?d-49653-p=2
>
> I'm getting tons of errors in the log, where it looks like OGNL is trying to
> evaluate this as: (d minus 49653 minus p). Naturally, this makes it throw
> ognl.InappropriateExpressionException any time a user loads a page with a
> DisplayTag table in it, which is incredibly annoying.
>
> Thoughts?
>
> Andy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to