https://www.youtube.com/channel/UCTHk68ii3GweDg-SN9WIZ_A
Lets get started we will project this project using JSP and servlet.
Eclipse foundation SQLyog
step1 : create a dwp in eclipse
step2: create required JSP file Admin.jsp Emp.jsp index.jsp login.jsp show.jsp
step3: In java resources_ create dto file login.java create dao file logindao.java create ui files AddemployeeServlet.java LoginServlet.java
step4: mapping in xml file
step5: execute the file
Create table users(username varchar(20) primary key,password varchar(15) Not Null,role enum("admin","employee") Not null,designation varchar(20),city varchar(15),country varchar(20));
Alter table users add constraint my_c check(role='admin' or role='employee')
Insert into users values("manohar","man@1234","employee","Associate software","bangalore","india");
INSERT INTO users VALUES("man","man123@","admin","manager","bangalore","india");
SELECT * FROM users;
- Fork it
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
Manchala Meherish
Manohar Virati
This project is licensed under the MIT License - see the LICENSE.md file for details