Hi everybody
Ist stage : i have a form(
jsp) having big table say(30*20) of fields , where i am asking user to enter those fields.
II nd Stage : i am fetching those data in a
servlet and setting those data through javabean function in bean object.
Problem: The problem is to set these fields i need to call every bean function one by one .Obviously it will take very long.
and if table is larger it will take even more.
So is there any efficient way of using bean function or how to create and use bean functions so that we can get and set values of field effficiently .
my form is something like this(say)..
Country Population language Primeminister president ....... ......... .............
India
USA
UK
Russia
China
....
....
......
the form order could vary in future
means i may increase or decrease countries .
Currently i am having only one
java bean class
where i have
variables like indiaPopulation, indiaLanguage ....
and
functions like int getIndiaPopulation() ,
String getIndiaLanguage(), void setIndiaPopulation(int indiaPopulation) ,
void setIndiaLanguage(String indiaLanguage ) .................
please help
ragards
thanks