RE: How to add action errors from action class's execute method

2003-07-31 Thread Steve Raeburn
Mailing List Subject: Re: How to add action errors from action class's execute method Hi stephan, Even i too dont know abt that option...Another important thing is that in html:message tag u must use {message=true} attribute in order for message to get displayed...That thing is not specified

Re: How to add action errors from action class's execute method

2003-07-30 Thread Prashanth.S
Hi stephan, For ur problem i recommend that u use action messages not actionerrors.. http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#doc.Other.messages hope the above link helps.. Thanks Prashanth Stephan Wiesner [EMAIL PROTECTED] wrote: Hi Anurag, your

Re: How to add action errors from action class's execute method

2003-07-30 Thread Stephan Wiesner
Hi Prashanth, thanks that did indeed help. Though I don't understand, why I should not use the actionerrors. There certainly should be a way to display a selected one, if I can display all? Stephan Prashanth.S wrote: Hi stephan, For ur problem i recommend that u use action messages not

Re: How to add action errors from action class's execute method

2003-07-30 Thread Prashanth.S
Hi stephan, Even i too dont know abt that option...Another important thing is that in html:message tag u must use {message=true} attribute in order for message to get displayed...That thing is not specified in docs...I dont know why HTH Prashanth Stephan Wiesner [EMAIL PROTECTED] wrote:

Re: How to add action errors from action class's execute method--Got the solution

2003-07-30 Thread Prashanth.S
Hi stephan, Try looking through the following url http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp Here they have explained how to use actionerrors...I too didnt knew abt this option... Hope i havent misleaded u... Thanks Prashanth Stephan Wiesner [EMAIL PROTECTED] wrote: Hi

RE: How to add action errors from action class's execute method

2003-07-25 Thread Anurag Garg
Hi, U can create the ActionError object and add them in the ActionErrors class in the action class. Now to forward the request to some resource add the actionerrors object method in the sendError(). Use saveErrors(request,errors) in the action class. where errors