struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Woon <morph...@SMI.Stanford.EDU>
Subject Re: ActionForm Defaults/Updates Question
Date Fri, 15 Feb 2002 01:27:58 GMT
theron.kousek@webmd.net wrote:

> >  In the end, I've just grabbed the Form bean from the pageContext
>
> Pardon my ignorance but can you tell me the syntax in your JSP page to do
> just that above?    I think I'll need to be doing the same thing.

<%
MyForm form = (MyForm)pageContext.getAttribute("form_name, PageContext.SOME_SCOPE);
form.setSomething(something);
%>

-Mark


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message