struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Sykes <a.sy...@ucl.ac.uk>
Subject Re: OGNL & DisplayTag = inappropriate expressions
Date Fri, 01 May 2009 00:48:06 GMT
Ah, of course. I forgot about that.

Thanks. Next time I'll remember to search the list first..

A.

On 30 Apr 2009, at 21:10, Musachy Barroso wrote:

> 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.sykes@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-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
>
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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


Mime
View raw message