You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Boon Chew <bo...@vizxlabs.com> on 2002/05/21 04:27:07 UTC
action mapping attribute - attribute vs name
When do you use attribute and when do you use name for the formbean? Do you
ever use both?
I read the dtd comments but still a bit unclear about it. Thanks.
<!-- Edit user registration -->
<action path="/editRegistration"
type="org.apache.struts.webapp.example.EditRegistrationAction"
attribute="registrationForm"
scope="request"
validate="false">
<forward name="success" path="/registration.jsp"/>
</action>
- boon
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>