I have a login page, which directs to Verification.jsp
Login.jsp
EveryThing in Login.jsp and verification.jsp is working fine.
I am having a STAFF table, which contains data of JOURNALIST & REPORTER. So, to differentiate their ID, i have a column STYPE, which contains 'R' for Reporter, and 'J' for journalist.
So, when Reporters logs in, i need 'R' to be generated, so that i can provide STYPE in my Query.
How to do this.?
If i place An attribute 'Id' in radio buttons in Login.jsp, how can i get this Id when the radio button is selected??
Verification.jsp
I Should not include
Java code in
jsp, But this is just a rough project. After this, i will be converting this project as per MVC architecture