What do you mean if there is a reason for this?  In the case of an error, you
can output error msg through <html:error/>

In your case, you might want to try return back to your input instead of
forwarding it to the .jsp page.  I know they are almost the same, but they is a
mirror difference.  So here comes the harder part.  If you believe that this is
what's supposed to happen, then you found a bug.  You can submit your bug
through bugzilla.apache.org.

Hope this helps!


-----Original Message-----
From: Rodney Paul [mailto:[EMAIL PROTECTED] 
Sent: July 29, 2003 11:28 PM
To: Struts Users Mailing List (E-mail)
Subject: Struts Error Handling Problem


Hi All,

I am currently using the Struts framework to develop a wizard application.
When using the Struts framework I notice that form data does not get
re-displayed after
issuing ActionErrors. Is there any reason for this?

I use the following code structure for developing the wizard:

OrganisationNameSearch.jsp
OrganisationNameSearchActionForm.java
OrganistaionNameSearchAction.java

and here are the important configuration settings I use to execute code:

---OrganisationNameSearch.jsp---
<html:form  action="/company/OrganisationNameSearch"
            name="company.OrganisationNameSearch"
 
type="net.natdata.application.itf.insolvency.company.OrganisationNameSearchActio
nForm">


---Struts Configuration---
<struts-config>
    <form-beans>
        <form-bean name="company.OrganisationNameSearchActionForm"
 
type="net.natdata.application.itf.insolvency.company.OrganisationNameSearchActio
nForm" />
    </form-beans>
    <action-mappings>
        <action path="/company/OrganisationNameSearch"
 
type="net.natdata.application.itf.insolvency.company.OrganisationNameSearchActio
n"
                name="company.OrganisationNameSearchActionForm"
                validate="true"
                scope="request"
                input="/company/OrganisationNameSearch.jsp"
                parameter="method">
                <forward name="next"    path="/company/OrganisationBrowse.jsp"
redirect="false" />
                <forward name="failure"
path="/company/OrganisationNameSearch.jsp" redirect="false" />
        </action>
    </action-mappings>
<struts-config>


Can someone please give me an indication as to why this is happening?

Cheers
Rodney

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


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

Reply via email to