I have made a simple login example which checks Userid & Password from a Microsoft Access Database...I put all the code in one servlet ...But now i want to put my Business Logic in a seperate java class....But i am unable to do it..
The code written by me is here:
This is the servlet:
and the two html pages made by me are:
and i put UserName & Password in database name DB2
BUT NOW I WANT TO PUT BUSINESS LOGIC IN A SEPERATE JAVA CLASS...
can anyone tell me the code how to do it...