Hi all, 
        The struts-config.dtd tells us that we can set custom properties for
every action with the use of the set-property element. 
<!ELEMENT action (icon?, display-name?, description?, set-property*,
exception*, forward*)>
I assume that we can have an action config as below 
<action path="/copyUser" type="a.b.c.CopyUserAction" name="userForm"
scope="session" input="/copy.jsp" >
        <set-property property="userdatabase" value="StrutsDB" />
        <set-property property="IPAddress" value="110.20.36.35" />
</action>

I would like to know how I can read these properties within my action and use
them. 

Regards
Mano


        


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. 
Before opening attachments please check them for viruses and defects. MindTree 
Consulting Private Limited (MindTree) will not be responsible for any viruses or 
defects or any forwarded attachments emanating either from within MindTree or outside. 
If you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or dissemination 
of this message in whole or in part is strictly prohibited.  Please note that e-mails 
are susceptible to change and MindTree shall not be liable for any improper, untimely 
or incomplete transmission.

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

Reply via email to