As the OGNL static method will be disabled soon ... we could use a wrapper to
call those static methodsĀ
Do you think it is a good idea to add a method ActionSupport for calling the
static methods
So instead of @foo.bar@isValidAmount(amount)
we can use
No
*Unless* you configure app to implement max heap -Xmx2048M -XX:PermSize=2048M
-XX:MaxPermSize=2048m
dont declare any entity Static anything .statics are notorious for parking in
Permgen
where of course the accumulation of other statics will eventually cause OOM
The problem of static methods was not the issue I was talking about.
Static methods are there you can use them or not, OGNL supports calling static
methods.The struts team decided to disable this feature.Lots of framework
users, use this feature ( may be they have set -Xmx .. parameters or not)
3 matches
Mail list logo