Hi
If we have a useBean, with say id="test", and the test bean exists in the default scope, I know that having setProperty in this action's body will not be invoked.
How does the setProperty action behave when this action (for useBean test) is put outside the useBean body? Will it reset the earlier value with the new one?
as in how would the following code work?
<jsp:useBean id="test" class="someClass"/>
<jsp:setProperty name="test" property="testProp" value="some value"/>
I hope I made my question clear.
Thanks
If we have a useBean, with say id="test", and the test bean exists in the default scope, I know that having setProperty in this action's body will not be invoked.
How does the setProperty action behave when this action (for useBean test) is put outside the useBean body? Will it reset the earlier value with the new one?
as in how would the following code work?
<jsp:useBean id="test" class="someClass"/>
<jsp:setProperty name="test" property="testProp" value="some value"/>
I hope I made my question clear.
Thanks