
Can you please provide the login page example in struts1.x and struts 2.x
Where the login page should interact with the DB. the email/username and password that were stored in the table should match the given input from the form. i.e, the given username and password have to be compared with values that were stored in tables..
If match is successful then login to success.jsp if not should be stay in the same page.
Replay would be highly taken into consideration.
Thanks in Advance.
