Re: Submit Once, Validate Twice -- but how ?

2004-03-24 Thread Haroon Rafique
On Today at 9:58pm, FS=>Frank Schaare <[EMAIL PROTECTED]> wrote: FS> Hi, FS> FS> thank you, that helps. FS> FS> Now i still need to know how to access the input page (set in action FS> mapping with the input="sample.jsp" tag)... Hopefully you will see Joe's response in the same thread, which h

RE: Submit Once, Validate Twice -- but how ?

2004-03-24 Thread Joe Germuska
At 3:58 PM -0500 3/24/04, Pady Srinivasan wrote: I don't have sample code but are you looking for something like this: // in Action execute... ActionErrors errors = new ActionErrors(); // add errors... ... // set in request request.setAttribute("org.apache.struts.action.ERROR", errors); // forward

Re: Submit Once, Validate Twice -- but how ?

2004-03-24 Thread Frank Schaare
Hi, thank you, that helps. Now i still need to know how to access the input page (set in action mapping with the input="sample.jsp" tag)... I don't have sample code but are you looking for something like this: // in Action execute... ActionErrors errors = new ActionErrors(); // add errors... .

RE: Submit Once, Validate Twice -- but how ?

2004-03-24 Thread Pady Srinivasan
I don't have sample code but are you looking for something like this: // in Action execute... ActionErrors errors = new ActionErrors(); // add errors... ... // set in request request.setAttribute("org.apache.struts.action.ERROR", errors); // forward to same page... Thanks -- pady [EMAIL PROTE