You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan Norman <ra...@mminternet.com> on 2002/03/29 18:39:55 UTC

struts-config.xml Explanation Needed - Ryan Norman

Hi,

I am Ryan Norman.

I started with struts about a week ago. I went through the documentation.

Still I could not understand some portions of struts.

Can somebody explain me the following:

. Dissection of this tag.
    <!-- Add User action -->
    <action path="/addUser" type="strutstest1.SystemUserAction"
      name="userForm" scope="request" input="/admin/dsp_User.jsp"
        validate="false">
     <forward name="success" path="/admin/dsp_User.jsp"/>
     <forward name="failure" path="/admin/search/dsp_SearchUser.jsp"/>
    </action>

. What am I achieving by giving the validate="false" in the above tag.

. Dissection of this tag
    <form-bean name="userForm" type="strutstest1.SystemUserForm" />

What is the association of of the <html:form action="XXXXX"> with the <action> tag.

Thanks in advance

Ryan Norman