ServletContext.getInitParameter() for a Bean?

2003-08-14 Thread Rick Roberts
What is recomended technique for reading initialization parameters from a Bean? -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * * http://www.ait-web.com *

Re: ServletContext.getInitParameter() for a Bean?

2003-08-14 Thread Ben Souther
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

Re: ServletContext.getInitParameter() for a Bean?

2003-08-11 Thread Bill Barker
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