struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Lee <>
Subject Re: struts 2.1.6 conventions plugin questions
Date Fri, 30 Jan 2009 01:51:43 GMT
Ok, I just figured out the problem I think - it occurs when OGNL tries
to parse a negative double.  I've been able to reproduce it in a small
test app that you can unpack and run via mvn jetty:run at -- it looks like any
negative numbers fails to get parsed by OGNL.  Is this by design or
should I file a JIRA ticket with OGNL?


On Thu, Jan 29, 2009 at 5:24 PM, Wes Wannemacher <> wrote:
> On Thursday 29 January 2009 15:52:52 you wrote:
>> Hi Wes,
>> I have an AuthenticationInterceptor that checks for a Spring-injected
>> session scoped bean for authentication information (though I'm not
>> sure if this is actually thread-safe, I should probably check on
>> that...  if Interceptors in Struts are singletons then it'd need to be
>> a ThreadLocal, but that's probably a separate issue.  In any case, the
>> interceptor is just tacked on top of the defaultStack and appears to
>> work properly and is configured as the default interceptor stack
>> within a "secured" package that I've created.  Then any .  I've set up
>> a sandbox with config-browser enabled at
>> but I don't
>> see anything immediately suspect...  here's a direct link to the
>> action that's giving me type conversion trouble:
> You're right about interceptors being thread locals, but you are also right
> that it is a separate issue.
> I'm not seeing anything suspect either. Does this work with the REST plugin
> (sans Convention plugin?) Can you create a small-ish app that would make a
> good test-case for a JIRA? I'd like to debug it and get to the bottom of it,
> but I'm not really getting a sense of where it's going wrong.
> -Wes
> --
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more

Allen Lee
Center for the Study of Institutional Diversity []
School of Human Evolution and Social Change []
The Virtual Commons []
The Digital Archaeological Record []
The OpenABM Consortium []
Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402
Office: 480.727.0401 | Fax: 480.965.7671

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message