a" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 6:33 PM
Subject: Re: How to get a value from the from bean
If you are trying to print out the value:
where nameOfForm is the name of the form defined in your stru
;Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 6:33 PM
Subject: Re: How to get a value from the from bean
> If you are trying to print out the value:
>
> where nameOfForm is the name of the form defined in your struts-config
> and passed in via the
If you are trying to print out the value:
where nameOfForm is the name of the form defined in your struts-config
and passed in via the 'name' argument in the action for this page.
And use bean:define to create a page-scoped bean if you just want to use
it places (like in calculations and such).
In the JSP, I need to a get a value from a form bean's property. How can I
do it in the JSP?
I tried to pageContext.findAttribute("org.apache.struts.taglib.html.BEAN")
to get the form bean, but it returned me null. Please help!
Billy Ng
This
4 matches
Mail list logo