G
gbattine
Hi guys,
please help me with this simple java question.
I'm developing a jsf application but i have a java question.
Suppose i have an authentication bean with 3 attributes,login,password
and team that load the values inserted in a login page.
In another bean i have a method that performs inserting an experiment
into a db.
My prepared statement is like...
pst2.setString(1, name);
pst2.setString(2, team);
pst2.setString(3, platform);
etc...
but i want name is the login attribute and team the team attribute of
authenticationBean.
How can i pass these values to my pst.2setString?
Please help me
please help me with this simple java question.
I'm developing a jsf application but i have a java question.
Suppose i have an authentication bean with 3 attributes,login,password
and team that load the values inserted in a login page.
In another bean i have a method that performs inserting an experiment
into a db.
My prepared statement is like...
pst2.setString(1, name);
pst2.setString(2, team);
pst2.setString(3, platform);
etc...
but i want name is the login attribute and team the team attribute of
authenticationBean.
How can i pass these values to my pst.2setString?
Please help me