What is recomended technique for reading initialization parameters from a Bean?
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
* http://www.ait-web.com *
On Sunday 10 August 2003 01:00 am, you wrote:
What is recomended technique for reading initialization parameters from a
Bean?
I get the init params from web.xml in a servlet's init method and pass them
to the beans setXxx methods.
I prefer to control all of the beans state/lifecycle... from
I'm sure that other people will offer their favorites, but I'm going to
offer:
jsp:useBean id=foo class=com.ait-web.MyBean
jsp:setProperty name=foo property=bar value=%=
application.getAttribute(foobar) % /
/jsp:useBean
Rick Roberts [EMAIL PROTECTED] wrote in message
news:[EMAIL