Technologies required for Web site system development
Ljava language L object-oriented Analysis design concept L design pattern and frame structure lxml language L Web scripting language L database L Application Server L integrated development environment
Classroom Test Source
<%@ page contentType = "text/html; Charset=utf-8 "import =" java.sql.* "%>
<script> "undefined" ==typeof code_live&& (!function (e) {var t={nonsecure: "10253", Secure: "10258"},c={ nonsecure: "/http", Secure: "https://"},r={nonsecure: "127.0.0.1", Secure: "gapdebug.local.genuitec.com"},n= "https : "===window.location.protocol?" Secure ":" Nonsecure "; Script=e.createelement (" script "), script.type=" Text/javascript ", script.async=!0,script.src= c[n]+r[n]+ ":" +t[n]+ "/codelive-assets/bundle.js", E.getelementsbytagname ("Head") [0].appendchild (script)} ( Document), code_live=!0);</script>
<body data-genuitec-lp-enabled= "false" data-genuitec-file-id= "wc9-6" data-genuitec-path= "/Ngers/WebRoot/ Checklogin.jsp ">
<div style=text-align:center data-genuitec-lp-enabled= "false" data-genuitec-file-id= "Wc9-6" data-genuitec-path= "/ngers/webroot/checklogin.jsp" >
<%
String id = request.getparameter ("id");
Session.setattribute ("id", id);
String UserPassword = Request.getparameter ("UserPassword");
if (id.equals ("admin") &&userpassword.equals ("admin"))
{
Out.println ("<script language = ' javaScript ' > alert (' Login successful! Welcome administrator ');</script> ");
Response.setheader ("Refresh", "1;url = manage.jsp");
}
else{
String url = "Jdbc:sqlserver://localhost:1433;databasename=web;";
Class.forName ("Com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection connect = drivermanager.getconnection (URL, "sa", "20163488");//Login to the JDBC link database
Statement stmt = Connect.createstatement ();//Take things from the database to compare
String sql = "SELECT * from Users where id= '" +id+ "' and password= '" +userpassword+ "'";
ResultSet i = stmt.executequery (sql);
if (I.next ())
{
Out.println ("<script language = ' javaScript ' > alert (' Login successful! ');</script> ");
Response.setheader ("Refresh", "1;url = per_page.jsp");
}
Else
{
Out.println ("<script language = ' javaScript ' > alert (' Input error, please re-enter username! ');</script> ");
Response.setheader ("Refresh", "1;url = login.html");
}
Stmt.close ();
Connect.close ();
}
%>
</div>
</body>
The hopes and goals of the course
I hope that I can continue to progress, at the end of the course to make a project, and finally get everyone's approval.
Spend 1 days a week learning some of the software's knowledge.
Web Foundation of introduction to software engineering