课程引言作业一

网站系统开发需要掌握的技术:

一个好的网页需要多种技术的支持才能够显得完美得体,给人好的感受。以JAVA实施web项目需要掌握的技术为例,包括:

1、JAVA语言

2、服务器的运行环境。

3、php、数据库、mysql。

4、前台的DW FL ps软件再加DIV+CSS布局美工

等等。

课堂测试源程序代码:

<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>用户登录</title>
</head>
<body>
<form name="loginForm" method="post" action="judgeUser.jsp">
<table>
<tr>
<td>用户名:<input type="text" name="userName" id="userName"></td>
</tr>
<tr>
<td>密码:<input type="password" name="password" id="password"></td>
</tr>
<tr>
<td><input type="submit" value="登录" style="background-color:pink"></td> 
</tr>
</table>
</form>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>身份验证</title>
</head>
<body>
<%
request.setCharacterEncoding("GB18030");
String name = request.getParameter("userName");
String password = request.getParameter("password");
if(name.equals("abc")&& password.equals("123")) {

%>
<jsp:forward page="afterLogin.jsp">
<jsp:param name="userName" value="<%=name%>"/>
</jsp:forward>
<%
}
else {
%>
<jsp:forward page="login.jsp"/>
<%
}
%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>登陆成功</title>
</head>
<body>
<%
request.setCharacterEncoding("GB18030");
String name = request.getParameter("userName");
out.println("欢迎你:" + name);
%>
</body>
</html>

结果截图:

未按时完成原因:

事先没有将改装的软件装好,没有做好充分的自学。

对这门课的希望和目标:

在对这门课进行学习后,希望通过训练能够提高自己的专业能力以及在本专业方面的自学能力,以保证能够跟上快速发展进步的软件行业的前进步伐。

时间计划:

利用本学期一至两天下午的课余时间做本专业的作业,其余时间来阅读一些本专业的书籍来拓宽视野,每周至少十个小时用在本专业上。

原文地址:https://www.cnblogs.com/lk0823/p/5228576.html