I have one combo box in my jsp UserType:<select name="uType">
I want to retrieve these two values in to my servlet..........and i want to develop a login page with mysql database .......
Please help me as soon as possible..........
I want to retrieve these two values in to my servlet
Do you know 'Form' tag in HTML? It will be useful here.
i want to develop a login page with mysql database
If you break down this requirement,
- Create a login page with necessary fields.
- User clicks login button.
- That in turns calls, Servlet (Controller)
- You get the user input and authenticate the user against database in this case MySQL.
- You take proper action(letting user in the app or giving wrong credentials message) depends upon your authentication result.