On Fri, 28 Jul 2006 11:26:57 -0700
Christopher Goldman <[EMAIL PROTECTED]> wrote:

>             <!-- Registration form bean -->
>             <form-bean name="registrationForm"
>             type="org.apache.struts.example.RegistrationForm"/>
>         
>             <!-- Edit user registration -->
>             <action path="/editRegistration"
>             type="org.apache.struts.example.EditRegistrationAction"
>             name="registrationForm"
>             scope="request"
>             validate="false"
>             input="/registration.jsp">
>             <forward name="success" path="/registration.jsp"/>
>             </action>

This is not included in my binary version struts-1.2.9. And the md5sum
for the zip file ist correct.
 
> The fact that the path, type, and forward values are similar is
> simply a convention that makes it easier to understand without
> memorizing the struts-config file.
> 
> The /editRegistration.do URL is mapped to the EditRegistrationAction
> class in the <action> tag shown.  It's tied to the form-bean above
> through the name attribute of the <action> tag.
> 
> The Action forwards to the JSP view via a call at the end of its
> execute method:
> 
>   return mapping.findForward( "success" );
> 
> And as you see there is a local forward for this action keyed on
> "success" to "/registration.jsp".  If it was absent, there would need
> to be a global forward for it.

If all the things you described where in the .war files
struts-config.xml i would not have asked, because i read how it works
in theory.
 
I now had a look at 1.2.9-src und 1.2.8-bin, the struts-config.xml does
not have these entries.
I mean webapps/struts-mailreader.war/WEB-INF/struts-config.xml.
So i did what the tour says. I had a look at the file and did not only
look at what the tour says the file should contain.

Henning

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

Reply via email to