This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes actionerrors get shortened in include files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "actionerrors get shortened in include files" Watch "actionerrors get shortened in include files" New topic
Author

actionerrors get shortened in include files

Stefaan Dutry
Ranch Hand

Joined: Sep 17, 2010
Posts: 32

Hello,

When i use an include through the following code:

and in that include file i use :

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.

Regards,

Stefaan
 
 
subject: actionerrors get shortened in include files
 
Similar Threads
validating inputs using struts
validation error messages
gettin NullPointerException
ActionErrors and error message from legacy system help needed
hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp