You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Duan Qiang <qd...@ilog.com.sg> on 2003/06/19 04:52:19 UTC

how to get the formbean in script

Hi,

I have a formbean defined as "test", how can I get the formbean in JSP so
that I can better control it rather than using <bean:write name="test"
property = "xxx "/>.

I tried to use

<bean:define id="test" name="test" /> but I got the exception that "no test
found in any scope".

I have one question, when the formbean is initialized ? when the page
containing the formbean is shown for the first time, the bean should exists
in proper scope? write?

Thx.


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