If you know the formbean it's a simple as
<c:set var="MyFormBean.map.propName" value="${theSessionVar}"/>

If you don't konw the formbean name or want to make it generic you can
get the current action's form bean name and then populate it something
like below. Modify requestScope/sessionScope as appropriate.

<c:set var="actionMapping'
value="${requestScope['org.apache.struts.action.mapping.instance]}"/>
<c:set var="requestScope[actionMapping.name].map.propName"
value="${theSessionVar}"/>

HTH,
-ed

On 6/23/06, Brian Long <[EMAIL PROTECTED]> wrote:

Hi folks -

I've got session data that I'd like to jam into a DynaValidatorForm
before it displays, so that all of the html tags that do auto-population
from the form work.

How do I get a handle to the form within the jsp?

Thanks in advance,
-b

--
Brian M. Long
Middleware Services, Virginia Tech
"Ancora Imparo (I am still learning)" - Michaelangelo, age 87



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



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

Reply via email to