aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "actionerrors get shortened in include files" Watch "actionerrors get shortened in include files" New topic

actionerrors get shortened in include files

Stefaan Dutry
Ranch Hand

Joined: Sep 17, 2010
Posts: 32


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.


I agree. Here's the link:
subject: actionerrors get shortened in include files
Similar Threads
validation error messages
gettin NullPointerException
validating inputs using struts
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