> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> If these ain't it, can somebody post what is?
Thanks! I'm looking for the Java code that goes in the Action to
manually put an error in for display when you forward to the form.
I have this in another app, but is this right for errors? I'm sure I
copied it from somewhere...
ActionMessages actionMessages = new ActionMessages();
actionMessages.add( "ActionMessages.GLOBAL_MESSAGE",
new ActionMessage( "error.no.contact.found" ) );
saveMessages( request, actionMessages );
return mapping.findForward( "failure" );
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]