tags:

views:

21

answers:

0

Hi guys, I am trying to create a login page with Struts 2 as my first app. My design for table User is as follows. User(username, password, firstName, lastName).

There are two pages I want to create, login and register. For both, i plan to use only one table. For login page, How would I go about passing username and password to the action class, instead of a user object? I am using Full Hibernate Plugin 1.4 GA to connect to my MySQL database. Any ideas?

Thanks guys.