struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duan Qiang" <qd...@ilog.com.sg>
Subject how to get the formbean in script
Date Thu, 19 Jun 2003 02:52:19 GMT
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


Mime
View raw message