I'm writing my first Struts application and want to use one frame
containing the input form and another frame to display the results.

If I use validation in the ActionForm (or populate ActionErrors in the
Action object), I know I can use <html:errors/> to display errors in the
input form.

But do I HAVE to display the errors in the same frame as the input form?
Could I do a <html:errors/> in the results frame and get them to display
there?

I can't use TARGET="resultsframe" because if an error occurs, the input
form will be displayed in the results frame. I'd need to refresh the
results frame from the input frame. But if the errors collection is only
stored in the request, it'd be too late to retrieve the errors I think.

Can anyone offer a solution?

Thanks

Rob Breeds


Reply via email to