Fault scheduling database design system

Original link: http: //www.51jrft.com/dzxx/dzkxyjs/553.html

With the rapid development of information technology, web processing information technology has become an indispensable life and work and powerful tool. Based on JSP fault technical personnel scheduling information presentation system , to match the terms of the failure to read the information on behalf of peacekeeping personnel has theoretically correct rate of 100%, to improve the efficiency of great significance.
Changzhou subject comes from the actual needs of mobile companies. The
design by using MyEclipse, SQL Server in conjunction with the Tomcat completed the preparation of the fault dispatch personnel information presentation system. To achieve the automatic matching, modify personnel information, summary and a series of functions. While the spirit of efficiency purposes, the page design has a relatively high affinity, easy to operate, so that duty personnel to quickly deal with fault repair information. HM000061
Keywords: JSP technology; automatic matching; information modification; summary; easy to operate
5.2 and peacekeeping personnel information display and page design and implementation of
5.2.1 and peacekeeping personnel information display design and implementation, please see the full Q +:
351 916 072 Gets
First designed JSP page request function in response to the transmission, the specific code is as follows:
public class daiwei the extends the HttpServlet {
public void the doGet (the HttpServletRequest request, the HttpServletResponse response)
throws ServletException, IOException {
the doPost (request, response);
}
This code receiving a request from a jsp page named "daiwei", and gives the corresponding processing result.
Next, the corresponding function is designed to complete a hash function to complete the
database by one and stored for access by waiting for access to the coding sequence. Specific code as follows [. 5]:
public void the doPost (the HttpServletRequest Request, the HttpServletResponse Response)
            throws ServletException, IOException {
        the HttpSession = Request.getSession the session (to true);
        the response.setContentType ( "text / HTML; charset = UTF-. 8");
        Request .setCharacterEncoding ( "UTF-. 8");
        the PrintWriter response.getWriter PW = ();      
    DBConn new new DBConn DB = ();
    String = SQL "SELECT * from substituting human dimension";
    the ResultSet db.ExecuteQuery RS = (SQL);
    the Hashtable the Hashtable = new new Table ();
the try {
int I = 0;
the while (rs.next ()) {
The Vector <String> new new VT = the Vector <String> ();
vt.add (Integer.toString (rs.getInt (. 1)));
vt.add (rs.getString (2));
vt.add (rs.getString (. 3));
vt.add (rs.getString (. 4));
vt.add (rs.getString (. 5));
vt.add (rs.getString (. 6));
vt.add (rs.getString (. 7 ));
vt.add (rs.getString (. 8));
table.put (I, VT);
I ++;
}
} the catch (Exception E) {
e.printStackTrace ();
}
    Response.sendRedirect ( "daiwei.jsp" );
    session.setAttribute ( "Table", Table);
    }

}


5.2.2 Generation and maintenance personnel information page design implemented
first, in the beginning of the design to set a width of each side margins attributes specific code as follows [11] :
<style type = "text / CSS">
  body {
margin-left: 0px;
Top-margin: 0px;
margin-right: 0px;
margin-bottom: 0px;
}       
This code width are provided 0px four weeks
and then a page image of the design, originally introduced into the prepared image, set the image length and width properties, specific code as follows [13 is]:
<TR>
<TD align = left = "Center" width = "900" height = "100">
<IMG the src = "Images / zhaopai.jpg"> </ TD>
</ TR>
this Code 900 specifies the image width units, 100 units and a high center of these properties.
Next provided in tabular form on the page, the specific code is as follows:
<TR>
    <TD align = left = "Center">
    <Table width = "900px" bgcolor = "# FFFFFF">
    <TR>
    <TD align = left = "Center">
    < a href = "ding"> Troubleshooting </a>
    </ TD>
    <TD align = left = "Center">




    </td>
    <td align="center">
    <a href="paibancha">排班计划</a>
    </td>
    <td align="center">

<a href="zonghui"> bundling </a>
     </ TD>
     </ TR>
     </ Table>
      </ TD>
      </ TR>   
Finally, functional design java read the corresponding hash table, and display the page one by one: Please view complete + Q: 351916072 Get
  <% = table1 the Hashtable (the Hashtable) session.getAttribute ( "Table");
the Vector new new VT1 = the Vector ();
int size = table1.size ();
int = II . 1;
for (int I = 0; I <size; I ++)
{
VT1 = (the Vector) table1.get (new new Integer (I));  
%>
     <TR>
    <TD align = left = "Center" bgcolor = "# FFFFFF" > <% II% => </ TD>
    <TD align = left = "Center" bgcolor = "# FFFFFF"> <vt1.elementAt% = (. 1)%> </ TD>
    <td align="center"  bgcolor="#FFFFFF" ><%=vt1.elementAt(2)%></td>
    <TD align = left = "Center" bgcolor = "# FFFFFF"> <vt1.elementAt% = (. 3)%> </ TD>
    <TD align = left = "Center" bgcolor = "# FFFFFF"> <% = vt1.elementAt ( . 4)%> </ TD>
    <TD align = left = "Center" bgcolor = "# FFFFFF"> <vt1.elementAt% = (. 5)%> </ TD>
    <TD align = left = "Center" bgcolor = "# FFFFFF" > <vt1.elementAt% = (. 6)%> </ TD>
    <TD align = left = "Center" bgcolor = "# FFFFFF"> <vt1.elementAt% = (. 7)%> </ TD>
    </ TR>
< %
II ++;
}
%>
due to the need to achieve generation of maintenance personnel to modify the function information corresponding to the generation of maintenance personnel information display page also joined the three buttons including increased generation of maintenance personnel, modifications on behalf of maintenance personnel information, delete substituting maintenance personnel. Code is embodied as follows [12 is]:
<INPUT name = "qingkong" type = "Button" value = "

    <input name = "qingkong" type = "button" value = " Delete substituting maintenance personnel" onClick = "location.href = 'delete.jsp '">
This code determines the type of the three buttons are button-type button, words are displayed on the button "Add and peacekeeping personnel"; "modify and peacekeeping personnel"; "Remove and peacekeeping personnel", respectively, while a hyperlink to a different page to perform the corresponding operation.
Design results below (5.2) below:

Summary of the I
the Abstract II
Chapter 1 Introduction 1
1.1 Background 1 research
significance of the study 1.2 1
1.3 The main contents and arrange chapters 1
Chapter 2 introduces related technologies and software 3
2.1 Software 3
2.1.1 3 MyEclipse
2.1.2 SQL
data 6 library
2.1.3 Tomcat 7
2.2 related technologies and initial configuration 8
2.2.1 JavaWeb 8
2.2.2 Configuring the Java environment variable 9
Chapter 3 user requirements and analysis 13
3.1 functional requirements 13
3.1.1 completion of the current duty Troubleshooting personnel information display 13
3.1.2 butt 13 and the SMS platform
3.1.3 typesetting program entry 13
real-time updates on duty plans 13 3.1.4
3.2 interface needs 13
Chapter 4 database design 15
15 select 4.1 database
to establish a database of 4.2 16
first CHAPTER 5 pages and functions design and Implementation 20
5.1 MyEclipse connection to the database 20
5.2 and peacekeeping personnel information display and page design and implementation 21
5.2.1 and peacekeeping personnel information display Design and Implementation 21
5.2.2 and peacekeeping personnel information pages Design and Implementation 23
5.3 Generation and maintenance personnel information processing and page design and implementation 25
5.3.1 and peacekeeping personnel information processing function design and Implementation 25
5.3.2 and peacekeeping personnel information processing and page design to achieve 27
Chapter 6. integration and testing 30
6.1 30 Configuring Tomcat
6.2 system test 32
6.3 test summary 36
Chapter 7 summary and Outlook 38
7.1 summarizes 38
7.2 Outlook 38
References 39
Acknowledgments 40

original link: http: //www.51jrft.com/dzxx/dzkxyjs/553.html

Guess you like

Origin blog.csdn.net/qq_31796711/article/details/92844892