form related
Hi I have a formbean which is submitting one user out of 10 user to my action class.
Now In database there is one table which conatins multiple rows.But out of all rows only some rows are shown to user depending upon the user.
now the problem is
I have to write a class where I will get the user name and on the basis of that name I have to fetch data from table.
so how to get this user name from form bean and based on this user condition how to fetch data.
if any once help on this condiation based code.it would be of great help.
|