Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
actionerrors get shortened in include files
posted 4 years ago
When i use an include through the following code:
and in that include file i use :
<s:actionerror cssStyle="display:none;" theme="simple"/>
then, when there's long message as one of the actionerrors, i don't get the full message, only the first 48 characters are displayed.
When i use the same tag directly in my file (not in the include file) the full message is displayed.
Is there some way around this, because it means duplicate code?
I also tried iterating over the actionerrors and displaying them like that, but the result was exactly the same.
It is sorta covered in the
JavaRanch Style Guide
ActionErrors and error message from legacy system help needed
validation error messages
hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp
validating inputs using struts