You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Swaminathan Gurumoorthy <sw...@yahoo.com> on 2003/06/06 20:07:58 UTC

html:form "target" attribute

I am using "target" attribute in html:form to display the results in an inline frame
 
<html:form method="post" action="/myAction" target="myFrame" onsubmit ="return false;">
 
Now if the validate method of the actionform has no problems the results are displayed correctly in the frame. That's fine. But the problem is if my actionform validate method returns actionerrors, it is not displayed back on the parent page. Instead I get a error on the frame saying "Page not found".
 
How will I display any errors on the parent page instead of getting 404 message on the iframe?
 
Thanks



---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).