2008/3/20, Chen Chunwei <[EMAIL PROTECTED]>:
>  Can tag <bean> fetch the value processed by a specified ActionForm?
>  For instance, there's an ActionForm named TestActionForm, which has a field 
> defined with "String test". And the corresponding get-method getTest() will 
> add a prefix "p:" to the field test. Supposing the origin value of test is 
> "a", then whether I can use tag <bean> to get the processed value "p:a"? If 
> can, then how?

I suppose that you are writing about <bean:write>.
Well, you can do it by using:
<bean:write name="formBeanName" property="test" />
"formBeanName" is the name that you declared in your
struts-config.xml, along with the called action.
The "getTest" will get called.

Antonio

P.S.: It seemed too simple to be true. Is it really this what you want?

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

Reply via email to