Hi everybody.

Since Struts 1.3 it is possible to set an arbitary key/value pair to
retrieve at runtime such as:

<action path="/EditSubscription"
        extends="Editor">
        <set-property key="foo" value="bar" />
</action>

In a document from the struts university (author Ted Husted) is an example to 
retrieve such pair:


public ActionForward execute(
        ActionMapping mapping,
        ActionForm form,
        HttpServletRequest request,
        HttpServletResponse response)
        throws Exception {

        string foo = getProperty("foo"); 

        // ...

In the nightly builds and in the newest subversion branch (366511) there is no 
getProperty() method 
in the Action class. So does anybody know, how to retrieve such a pair von 
set-properties.

Thanks a log
Manfred

-- 
===========================================
Dipl.-Inf. Manfred Wolff
Software Engineer
Fon  : +49 421 534522
Fax  : +49 421 4314578
Mobil: +49 173 2494181
-------------------------------------------
http://www.manfred-wolff.de
http://www.struts-it.org
-------------------------------------------


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

Reply via email to