[Mr.Ben - Sorry for the usage of
word]
Hi,
I am trying to use JavaBean class from my
JSP page.
I have a class that contains members variables, relevant getter and setter methods, the thing is it has around 15 members and i don't want to use individual set/get method to set and retrieve the values from my jsp page.. Instead i want to use a parameterized constructor that takes one argument and retrieves me the relevant values from the database and populates the members.. so that i create an instance of the bean and access it values using the JSTL tags..
1. Is there any concept of invoking parameterized constructor concept using jsp:useBean
2. If yes, would like to know more on it
3. If no, what is the other way around that i have to send parameterised value my bean constructor to assign some dynamic value to its properties in one stroke.
Pls let me know ur thoughts on this..
Thanx in advance
Regards
Roshini.S
[ July 07, 2006: Message edited by: roshini sridhar ]
[ July 07, 2006: Message edited by: roshini sridhar ]