struts-user  

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

Frank Schaare
Wed, 24 Mar 2004 12:58:48 -0800

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...
...
// set in request
request.setAttribute("org.apache.struts.action.ERROR", errors);
// forward to same page...


Thanks



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]