I was reading through this particular question (and the answer to it by Roman C). I came to know that the format of getters/setters have changed from Struts 2.3.32 and above:
Can anybody please emphasize, what exactly are the format changes? (or point me towards the documentation that explains this in detail?)
I have boolean properties and getters/setters in my action class like these and I'm trying to migrate from Struts 2.3.8 to 2.3.34:
private boolean mlaCacheKeep;
public boolean isMlaCacheKeep() {
return mlaCacheKeep;
}
public void setMlaCacheKeep(boolean mlaCacheKeep) {
this.mlaCacheKeep = mlaCacheKeep;
}
After the migration, I notice, that for syntax such as these in my JSP...
<s:url id="newMLA" action="populateMlaForm">
<s:param name="cacheKeep">%{mlaCacheKeep}</s:param>
</s:url>
...the value to <s:param>
is not getting 'evaluated'. Instead of a true
or a false
, it's getting evaluated to something like this %25%7BmlaCacheKeep%7D
Please note: my property name doesn't start with only a single lower case character, but more than one lower case character.