nitin mandolkar wrote:
I want to access property that i set in action element.

Here is the action element in strust-config file.

   <action-mappings type="org.apache.struts.action.ActionMapping">
     <action
        path="/login"
        name="loginForm"
        type="com.myapp.web.struts.LoginAction"
        input="/login.jsp"
            scope="request">
                   <set-property property="authenticat" value="true"/>
                                                        ^

           <forward name="init" path="/loginjsp.do" />
           <forward name="success" path="/welcome.do" />
           <forward name="failure" path="/loginjsp.do" />
     </action>

How can i access 'authenticated' property element autheticated in
action call process() method. Is there any method in ActionMapping
class that will help to get this property.

Observation:
------------------
After setting this property i tryed to run my webapplication. But
which gives me an error.

That's not really much of an observation.  Maybe you have a typo?


-Dave

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

Reply via email to