Hi guys
I need some help pls. Can somebody help me a jsp login code. The code should select username,password and userlevel fields from a database(say employee). If both username and password are correct, it should check the userlevel. If the user level is "admin", should load the admin home page. If both username and password are correct and userlevel is clerk, it should load "clerk home page". If both username and password are correct and userlevel is visitor, it should load "visitor's home page".And so on. I need the code pls......

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

Post what you have done so far and someone will help you from there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.