File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Strange ActionMessages Error Handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strange ActionMessages Error Handling" Watch "Strange ActionMessages Error Handling" New topic
Author

Strange ActionMessages Error Handling

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am using struts 1.2.4 and im getting a strange problem when I try to handle errors.

If i use the following:

The errors dont get displayed in the error page, infact theyre not even in my request object when the JSP page is loaded.

However, if i use the following:

The errors get displayed properly.

Should my errors be displayed when using the first code block? If so, Any suggestions why they may not be?

Thanks heaps

tobes
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
Hi toby,

I wonder if you wouldn't mind changing your display name in order to comply with our naming policy. It seems we've already asked you twice before (here and here), and i'm afraid after this time we'll be forced to close your account. Thanks in advance for taking care of this!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange ActionMessages Error Handling
 
Similar Threads
saveErrors method in Action class
ActionError issue
No validation before LookupDispatchAction
Messages displayed only if I use saveErrors()
Limitations on use of html:errors