Hi Alberto
Thank you. However, how do I refer to my placed formBean from a struts tag?
How does it know the difference from my formBean and the default formBean
created from ApplicationResources? Can I refer to it as:
<html:text property="fname" value="${myFormBeanName.fname}"/>
"Alberto A. Flores" <[EMAIL PROTECTED]> wrote:
> I have a form with many, many fields on it. I would like to process some of
> them in my Action but get all them into the session object so my forwarded
> jsp can use them as the values. So may I ask:
> 1. How can I put the entire form bean from an action into the session scope
> without extracting each name/value pair and individually putting that in the
> session?
Set scope="session" in struts-config mapping.
> 2. From the forwarded jsp, how do I access the placed form bean and use the
> getters for the value of input fields? Thank you.
use struts tags, where the bean name is the name of the form as defined
in struts-config. Alternatively, you could use JSTL to access these
forms (beans) as well.
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]