• 课程引言作业一


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

    一个好的网页需要多种技术的支持才能够显得完美得体,给人好的感受。以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>

    结果截图:

    未按时完成原因:

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

    对这门课的希望和目标:

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

    时间计划:

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

  • 相关阅读:
    asp.net mvc本地程序集和GAC的程序集冲突解决方法
    SolrCloud-如何在.NET程序中使用
    Application Initialization Module for IIS 7.5
    CentOS 6.5/6.6 安装mysql 5.7 最完整版教程
    NHibernate one-to-one
    “Invalid maximum heap size” when running Maven
    初涉RxAndroid结合Glide实现多图片载入操作
    【案例分析】Linux下怎样查看port占用情况
    js学习之--Bootstrap Modals(模态框)
    sdut2852 小鑫去爬山9dp入门)
  • 原文地址:https://www.cnblogs.com/lk0823/p/5228576.html
Copyright © 2020-2023  润新知