That should work, it will complain in the logs that it wasn't able to
bind that parameter to the action, but you can just ignore it, or
configure the params interceptor to ignore it.

musachy

On Wed, Feb 4, 2009 at 9:37 AM, Emi Lu <em...@encs.concordia.ca> wrote:
> Good morning Musachy,
>
>> params interceptor doesn't like parameters with spaces
>> in the name (this was fixed in xwork already), to fix it, set
>> "acceptedParamNames" to "[[\p{Graph}\s]&&[^,#:=]]*" in your param
>> interceptor.
>
> Right, I am using displayTag(displaytag-1.2.jar). The parameter looks like:
>
> https://info/ProcessBrowse.action?d-6836677-p=7
>
> "d-6836677-p=7" caused the problem. Is there any way that "d-6836677-p=7"
> can be accepted?
>
>
> --
> Lu Ying
>
>
>> On Tue, Feb 3, 2009 at 5:36 PM, Musachy Barroso <musa...@gmail.com> wrote:
>>>
>>> That looks familiar, are you using displaytag?
>>>
>>> musachy
>>>
>>> On Tue, Feb 3, 2009 at 4:39 PM, Dave Newton <newton.d...@yahoo.com>
>>> wrote:
>>>>
>>>> Wouldn't it make sense to include the JSP/expression that's causing the
>>>> error?
>>>>
>>>> Dave
>>>>
>>>> Emi Lu wrote:
>>>>>>
>>>>>> When switching query result page by page (online), I got the following
>>>>>> warning message:
>>>>>>
>>>>>> WARNING: Error setting value
>>>>>> ognl.InappropriateExpressionException: Inappropriate OGNL expression:
>>>>>> (d
>>>>>> - 6836677) - p
>>>>>>
>>>>>> I am lost. Could someone tell me what may cause this warning please?
>>>>>
>>>>> Info searched for now :
>>>>> http://www.junlu.com/msg/317273.html
>>>>>
>>>>> But I already disabled devMode in struts.xml:
>>>>> <constant name="struts.enable.DynamicMethodInvocation" value="false" />
>>>>> <constant name="struts.devMode" value="false" />
>>>>>
>>>>>
>>>>> By the way, I am using:
>>>>> struts-core 2.1.6
>>>>> displaytag-1.2.jar
>
>
>



-- 
"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