(Or struts.xml, the preferred mechanism AFAIK).
On Thursday, July 21, 2011, Jason Pyeron wrote:
>> -Original Message-
>> From: Asleson, Ryan
>> Sent: Thursday, July 21, 2011 8:37
>> To: user@struts.apache.org
>> Subject: [struts-user] OGNL Problems During
> -Original Message-
> From: Asleson, Ryan
> Sent: Thursday, July 21, 2011 8:37
> To: user@struts.apache.org
> Subject: [struts-user] OGNL Problems During Struts2 Upgrade
>
>
> Hello,
>
> We are attempting to upgrade our application from Struts2
>
I enabled static method access by adding this to struts.xml:
Thanks to the direction I found here under the "Accessing static properties"
section:
http://struts.apache.org/2.2.3/docs/ognl-basics.html
And it now works!!! Thank you
On Jul 21, 2011, at 7:42 AM, Asleson, Ryan wrote:
How
How do I enable static method access? Is that through OGNL or Struts2?
I don't know why the default formatting tags aren't being used. Probably
because the app uses a custom content management system but I don't know.
There are over 100 files that use this method for formatting dates and I r
Did you enable static method access? The default may have changed. (Is
there a reason the default formatting tags aren't being used? Or the
JSTL format tags?)
Dave
On Thursday, July 21, 2011, Asleson, Ryan wrote:
>
> Hello,
>
> We are attempting to upgrade our application from Struts2 version 2.
Hello,
We are attempting to upgrade our application from Struts2 version 2.0.11.2 to
the current version, 2.2.3. As part of the upgrade, OGNL was upgraded from
version 2.7.3 to version 3.0.1.
Our JSPs make use of OGNL to call static methods on classes to help with
formatting. Here's an exam
6 matches
Mail list logo