First Java Web project: Employee Management System

Source: Internet
Author: User

Requirements:

  1. do a landing page, to achieve login , user name and password are admin, login success, with session record user name , logon failure, please indicate the reason for failure.
  2. make a simple management system, implement registration, modify, query, delete the function of the staff, registration content such as, the course requirements can be multiple selection, separated by commas, saved to the table. The table himself built a temporary table under INTF, such as INTF. temp_001
  3. use the session to do a simple interception function, if the JSP page found not logged in, then jump to the login page
  4. Register add.jsp
  5. Modify Edit.jsp
  6. Query querylist.jsp
  7. Login.html
  8. When deleting records, using Ajax processing, when the database deleted successfully,JS Dynamically delete the table that row , prompting jquery of the Remove () .
  9. after adding the success,JS dynamically adds a row after the table, prompting jquery for append or HTML ().
  10. Pop-up box processing.
  11. Click Add or edit to popup a small box processing, add or modify the success, close the small window, and then refresh the table

Implementation process

I. Understanding programming tools and environments

Tools: Tomcat (server), MyEclipse (development tools)

Environment configuration:

Tomcat Download Install OK

MyEclipse configuration: 1. Configuring the Tomcat Location

2. Configuring the JDK

3. Configuring Tomcat for Project Startup

(There are tutorials on all three steps, as well as flags to configure success: Run as can select just-configured tomcat)

Create a new project (understand the overall structure of the project)

1, new "Web Serveice Project" after the new successful, you can run as to see the effect. Enter http://localhost:8080/ServletTest/login.jsp Servlettest in the browser to replace with your project name.

  

Null pointer exception:

First Java Web project: Employee Management System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.