| Author |
Adding an error to the ActionError in struts
|
Archana Annamaneni
Ranch Hand
Joined: Jan 29, 2003
Posts: 147
|
|
In my application I am trying to add an error message to an ActionError. That message is in a String varibale , how do i add that,if it is an hardcoded message it works fine. here is my code String errormessage = (String)detailids.get(1); errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("100",errormessage)); saveErrors(request,errors); Thanks
|
 |
 |
|
|
subject: Adding an error to the ActionError in struts
|
|
|