Re: jsp:useBean How do I use a constructor with parameters????

1999-07-17 Thread Dmitri Namiot
yes, it is a bad restriction and that follows from the bean definition. So now you should be able only run zero-arg constructor and set parameters after that via separate calls (some like setSomething(...) Regards, Dmitry P.S. by the way, see our alaJSP stuff: http://coldjava.hypermart.net

jsp:useBean How do I use a constructor with parameters????

1999-07-11 Thread Kevin Burton
Why can't a developer provide a constructor with a parameter list? jsp:useBean id="test" scope="session" class="com.myCompany.test" / Is is it just me or does this seem like a major pain. If I want to use a constructor with parameters I would have to write an initialize() method and call it

Re: jsp:useBean How do I use a constructor with parameters????

1999-07-11 Thread John Zukowski
Obviously, you don't understand JavaBeans Don't expect what you are looking for. J Thanks for your message at 08:22 PM 7/11/99 -0700, Kevin Burton: Why can't a developer provide a constructor with a parameter list? jsp:useBean id="test" scope="session" class="com.myCompany.test" / Is is

Re: jsp:useBean How do I use a constructor with parameters????

1999-07-11 Thread Craig R. McClanahan
Kevin Burton wrote: Why can't a developer provide a constructor with a parameter list? jsp:useBean id="test" scope="session" class="com.myCompany.test" / Is is it just me or does this seem like a major pain. If I want to use a constructor with parameters I would have to write an

Re: jsp:useBean How do I use a constructor with parameters????

1999-07-11 Thread Steve Lopez
-Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Burton Sent: Sunday, July 11, 1999 11:22 PM To: [EMAIL PROTECTED] Subject: jsp:useBean How do I use a constructor with parameters Why can't a developer provide