In this action mapping. What is mean by set-property. What it will do.
How we can use this one. 

In which condition this is useful.

 

    <action path="/myapp/logininfo"

            name="LoginForm"

            type="com.myapp.LoginAction"

            scope="session">

        <set-property property="secure"           value="false" />

        <set-property property="authenticated"    value="true" />

        <forward name="init"        path="/customer/login.jsp" />

        <forward name="init_fail"   path="/error.jsp" />

        <forward name="success"     path="/product.do />

        <forward name="failure"     path=""/customer/login.jsp" />

   </action>

 

 

Reply via email to