Hi all,
I want to set a property of a bean to a value in the jsp document. I've tried
using
<c:set target="mybean" property="myProperty" value="${avalue}" />
But it will throw errors unless I change it to:
<c:set var="x" target="mybean" property="myProperty" value="${avalue}" />
I can't see why I need to set a page context variable in order to set a
property. In addition, what if I want to set a property on a bean which is in
page scope. Should I do something like:
<c:set var="mybean" target="mybean" property="myProperty" value="${avalue}" />
And if so, will it use the already present bean or wipe it and create another
?
Any comments much appreciated.
--
Regards,
Derek Clarkson
.O. Analyst/Programmer
..O Waterwerks Pty Ltd
OOO Melbourne, Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]