web开发技术(java)--jsp基础知识(html+javascript+css)课件

web开发技术(java)--jsp基础知识(html+javascript+css)课件

ID:13848794

大小:1.11 MB

页数:155页

时间:2018-07-24

web开发技术(java)--jsp基础知识(html+javascript+css)课件_第1页
web开发技术(java)--jsp基础知识(html+javascript+css)课件_第2页
web开发技术(java)--jsp基础知识(html+javascript+css)课件_第3页
web开发技术(java)--jsp基础知识(html+javascript+css)课件_第4页
web开发技术(java)--jsp基础知识(html+javascript+css)课件_第5页
资源描述:

《web开发技术(java)--jsp基础知识(html+javascript+css)课件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、Web开发技术(java)--------JSP基础知识(HTML+JavaScript+CSS)•东北大学东软信息学院•计算机系网络工程教研室1内容提要本章首先网页的工作原理介绍HTML的发展历史、HTML的文档结构、了HTML的各种常用标记:文字标记、图片标记、超级链接标记,等等介绍JavaScript中的变量、数组、表达式、运算符、流程控制语句、JavaScript的函数、内置对象、浏览器对象的层次和DOM模型的建立和使用最后介绍CSS的基本使用方法,如何让CSS与HTML协同工作2JSP应

2、用项目结构浏览器端用户界面的开发:HTML,开发静态网页JavaScript,简单的事件响应,输入验证。CSS,浏览页面的美观Applet,应用于客户端数据库WAN浏览器HTTPWeb容器JDBC3JSP应用项目结构服务器端业务逻辑处理的开发:Java语言基础JSP知识Servlet知识JavaBeans知识数据库WAN浏览器HTTPWeb容器JDBC4JSP应用项目结构数据库的开发:数据库的原理和设计数据库的创建及维护SQL语言以及存储过程等数据库WAN浏览器HTTPWeb容器JDBC5HTTP

3、请求/响应模型访问Web服务器的过程资源可以是各式各样的一个原封不动返回浏览器的简单HTML文件一个动态生成响应的程序。客户请求响应资源程序6JSP示例(Hello.jsp)<%@pagecontentType="text/html;charset=gb2312"%><%@pageimport="java.util.*"%><%for(inti=0;i<2;i++){%>你好
<%}%>你好
你好

4、ODY>7HTML基础JSP示例:<%@pagecontentType="text/html;charset=GBK"%>helloworld<%out.println("HelloWorld!");%>经过对上述JSP文件的分析我们发现:JSP=HTML+JSP元素,因此需要对HTML进行一番研究8HTML基础HTML(HyperTextMa

5、rkupLanguage)语言简介超文本标记语言HTML源于标准通用化标记语言SGML(StandardGeneralMarkupLanguage)是SGML的子集(XML同样也是其子集),由Web的发明者Tim和Daniel于1990年创立。HTML是一门标记型语言,只要记住各个标记的用法即可可以用任何文本编辑器来编写HTML页面,只要将创建的页面保存为html或htm即可在客户端浏览器可以查看所编写的源代码9HTML的编辑和运行环境HTML的编辑环境所见及所得的编辑器,如:Dreamweave

6、r、FrontPage任何文本编辑工具,如:记事本、EditPlusHTML的运行环境浏览器InternetExplorer6FireFox1.5由于各浏览器对HTML的支持有差别,所以尽量避免使用非规范的HTML标记10HTML语言简介HTML的基本语法HTML文件由标记和文本组成,格式为:<标记>在浏览器中显示的文本标记名和“<>”之间不能有空格属性通过属性控制各种输出效果,格式为:<标记属性1=属性值属性2=属性值…>受到属性影响的文本例如:

7、r=red>属性示例属性之间没有顺序,且只能加于起始标记中。11HTML语言简介标记可以分为单标记和双标记两种:单标记单独使用,如:
双标记成对使用,如:…对于同一段文本,可以使用多个嵌套标记来共同作用,产生一定的效果,但需要注意标记出现的顺序。网页标题网页标题</head>(错误)HTML语言不区分大小写12HTML注释HTML注释HTML的注释标记为“

8、”和“<-->”可以插入到HTML文本的任何地方例如:HTML或JSP文件中HTML注释将发送到客户端浏览器,但不显示这与后面将要讲解的JSP注释不同:JSP注释的内容不会发送到客户端,但在注释出现的位置出现一个空行13HTML文件的基本结构HTML文件的基本结构HTML文件以开头,以结束HTML文件包括头部和主体两个部分基本结构为:网页标题</TITLE</p> </div> <div class="mt-3 bg-white"> <div class="d-lg-block d-none px-3 px-lg-4 py-3 border-bottom text-center font-18"> 当前文档最多预览五页,下载文档查看全文 </div> <div class="detail-fixed-feature d-none d-lg-block" id="detailFixedFeatureBox"> <div class="px-3 px-lg-4 py-3 d-flex align-items-center justify-content-between fixed-feature-box" id="detailFixedFeature"> <div class="d-lg-flex d-none align-items-center"> <div> <a class="btn btn-outline-danger article-state" href="javascript:;" data-id="13848794" data-code="438274" data-title="web开发技术(java)--jsp基础知识(html+javascript+css)课件"> <span>侵权申诉</span> </a> <button type="button" class="btn btn-outline-secondary with-light ml-2" data-toggle="modal" data-target="#reportModal" data-id="13848794"><span>举报</span></button> </div> <nav class="d-flex align-items-center ml-4" id="anchorPoint"> <a href="javascript:;" class="btn btn-light anchor-pre px-2"><i class="iconfont text-muted"></i></a> <div class="text-muted mb-0 pre-point-list" id="prePointList"> <a class="px-2 active nav-link" href="#anchorImg0">1</a> <a class="px-2 nav-link" href="#anchorImg1">1</a> <a class="px-2 nav-link" href="#anchorImg2">2</a> <a class="px-2 nav-link" href="#anchorImg3">3</a> <a class="px-2 nav-link" href="#anchorImg4">4</a> <a class="px-2 nav-link" href="#anchorImg5">5</a> / <span class="px-2" id="prePageNums">155</span> </div> <a href="javascript:;" class="btn btn-light anchor-next px-2"><i class="iconfont text-muted"></i></a> </nav> </div> <div class="d-flex align-items-center"> <p class="d-lg-block d-none font-14 text-black-50 mb-0 mr-2">此文档下载收益归作者所有</p> <button class="btn btn-danger detail-download-btn px-3 ml-0 font-16" data-btn="downloadfile" style="width:128px;height:40px;" data-id="13848794" data-price="2000" data-size="1.11 MB" data-page="155页" data-type="ppt" data-binddown="true" data-isold="new_content" data-vip="0" data-title="web开发技术(java)--jsp基础知识(html+javascript+css)课件">下载文档</button> </div> </div> </div> </div> <div class="d-block d-lg-none px-3 px-lg-4 py-3 border-bottom text-center font-14" style="color:#999">当前文档最多预览五页,下载文档查看全文</div> <button class="btn d-block w-100 d-lg-none btn-danger detail-download-btn px-3 ml-0 font-16" data-btn="downloadfile" data-id="13848794" data-price="2000" data-size="1.11 MB" data-page="155页" data-type="ppt" data-binddown="true" data-isold="new_content" data-vip="0" data-title="web开发技术(java)--jsp基础知识(html+javascript+css)课件">点击下载本文档 </button> </div> <div class="px-3 px-lg-4 py-3 bg-white mt-3"> <ul class="nav custom-tab border-bottom" id="myTab" role="tablist"> <li class="nav-item" role="presentation"> <a class="nav-link active px-0 mr-4 font-16 font-weight-light pb-3" id="tips-tab" data-toggle="tab" href="#showTips" role="tab" aria-controls="showTips" aria-selected="true">版权提示</a> </li> <li class="nav-item" role="presentation"> <a class="nav-link px-0 pb-3 font-16 font-weight-light text-black-50" href="/d-13848794.html" >下载文档</a> </li> <dl class="flex-grow-1 mb-0 d-lg-none"> <li class="ml-3 float-right d-lg-none"> <button type="button" class="btn btn-light" data-toggle="modal" data-target="#reportModal" data-id="13848794"><span>举报</span></button> </li> </dl> </ul> <div class="tab-content with-content pt-3" id="myTabContent"> <div class="tab-pane fade show active font-14" id="showTips" role="tabpanel" aria-labelledby="showTips-tab"> 温馨提示: <br> 1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。<br> 2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。<br> 3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。<br> 4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。 <br> </div> </div> </div> </div> <div class="detail-sidebar d-none d-lg-block"> <div id="columnDetailSiderRight"> <div class="detail-yourlike mt-0 pb-2" id="relativeArticle"> <div class="border-bottom py-2 d-flex align-items-center justify-content-between"> <h5 class="font-16">相关文章</h5> <a class="font-14 hover-letter-spacing" href="/ucenter/search/index.html?text=web开发技术(java)--jsp基础知识(html+javascript+css)课件" target="_blank" rel="nofollow">更多<i class="iconfont font-12 pl-1"></i></a> </div> <ul class="font-14 like-list"> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-1192042.html" title="基于web的java开发设计 html+javascript+css" target="_blank"><span class="text-danger">基</span>于<span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span>的<span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">开</span><span class="text-danger">发</span>设计<span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span><span class="text-danger">+</span><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">s</span><span class="text-danger">c</span><span class="text-danger">r</span><span class="text-danger">i</span><span class="text-danger">p</span><span class="text-danger">t</span><span class="text-danger">+</span><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-11793346.html" title="《java ee开发技术教学课件》java-web分页操作(jsp servlet javabean)" target="_blank">《<span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">e</span><span class="text-danger">e</span><span class="text-danger">开</span><span class="text-danger">发</span><span class="text-danger">技</span><span class="text-danger">术</span>教学<span class="text-danger">课</span><span class="text-danger">件</span>》<span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">-</span><span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span>分页操作<span class="text-danger">(</span><span class="text-danger">j</span><span class="text-danger">s</span><span class="text-danger">p</span><span class="text-danger">s</span><span class="text-danger">e</span><span class="text-danger">r</span><span class="text-danger">v</span><span class="text-danger">l</span><span class="text-danger">e</span><span class="text-danger">t</span><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">b</span><span class="text-danger">e</span><span class="text-danger">a</span>n<span class="text-danger">)</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-13396982.html" title="基于web的java开发设计 html+javascript+css" target="_blank"><span class="text-danger">基</span>于<span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span>的<span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">开</span><span class="text-danger">发</span>设计<span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span><span class="text-danger">+</span><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">s</span><span class="text-danger">c</span><span class="text-danger">r</span><span class="text-danger">i</span><span class="text-danger">p</span><span class="text-danger">t</span><span class="text-danger">+</span><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-18180374.html" title="基于web的java开发设计 html+javascript+css" target="_blank"><span class="text-danger">基</span>于<span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span>的<span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">开</span><span class="text-danger">发</span>设计<span class="text-danger">h</span><span class="text-danger">t</span><span class="text-danger">m</span><span class="text-danger">l</span><span class="text-danger">+</span><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">s</span><span class="text-danger">c</span><span class="text-danger">r</span><span class="text-danger">i</span><span class="text-danger">p</span><span class="text-danger">t</span><span class="text-danger">+</span><span class="text-danger">c</span><span class="text-danger">s</span><span class="text-danger">s</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-18412024.html" title="java web jsp教案" target="_blank"><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">j</span><span class="text-danger">s</span><span class="text-danger">p</span>教案</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-pdf" href="/p-34393329.html" title="java_web开发技术03_jsp" target="_blank"><span class="text-danger">j</span><span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span>_<span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">开</span><span class="text-danger">发</span><span class="text-danger">技</span><span class="text-danger">术</span>03_<span class="text-danger">j</span><span class="text-danger">s</span><span class="text-danger">p</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-ppt" href="/p-36198208.html" title="jsp课件-web开发基础" target="_blank"><span class="text-danger">j</span><span class="text-danger">s</span><span class="text-danger">p</span><span class="text-danger">课</span><span class="text-danger">件</span><span class="text-danger">-</span><span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">开</span><span class="text-danger">发</span><span class="text-danger">基</span><span class="text-danger">础</span></a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-doc" href="/p-39347944.html" title="Java Web 开发技术试题" target="_blank">J<span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span>W<span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">开</span><span class="text-danger">发</span><span class="text-danger">技</span><span class="text-danger">术</span>试题</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-ppt" href="/p-39993454.html" title="web开发技术jsp教程" target="_blank"><span class="text-danger">w</span><span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">开</span><span class="text-danger">发</span><span class="text-danger">技</span><span class="text-danger">术</span><span class="text-danger">j</span><span class="text-danger">s</span><span class="text-danger">p</span>教程</a> </li> <li class=""> <a class="text-ellipsis office-icon text-dark office-icon-ppt" href="/p-41305763.html" title="JSP+—+Java+Web开发" target="_blank">JSP<span class="text-danger">+</span>—<span class="text-danger">+</span>J<span class="text-danger">a</span><span class="text-danger">v</span><span class="text-danger">a</span><span class="text-danger">+</span>W<span class="text-danger">e</span><span class="text-danger">b</span><span class="text-danger">开</span><span class="text-danger">发</span></a> </li> </ul> </div> <div class="detail-yourlike pb-2"> <div class="border-bottom py-2"> <h5 class="font-16">相关标签</h5> </div> <ul class="font-14 like-list d-flex flex-wrap"> <a class="search-tag" href="/tags/14/" target="_blank">javascript</a> <a class="search-tag" href="/tags/540013/" target="_blank">课件</a> <a class="search-tag" href="/tags/540508/" target="_blank">基础知识</a> </ul> </div> <script src="/d/js/acmsd/thea1.js"></script> </div> </div> </div> <footer> <div class="container d-none d-lg-block mb-4"> <div class="d-flex justify-content-between footer-nav"> <ul class="d-flex foot-nav"> <li> <h5>常见问题</h5> <a class=text-decoration-none href=/help/wenti/upload/ target=_blank> 关于上传 </a><a class=text-decoration-none href=/help/wenti/xiazai/ target=_blank> 关于下载 </a><a class=text-decoration-none href=/help/wenti/qinquan/ target=_blank> 关于侵权 </a><a class=text-decoration-none href=/help/wenti/fenxaing/ target=_blank> 分享文档赚钱教程 </a> </li> <li> <h5>关于我们</h5> <a class=text-decoration-none href=/help/about/wzjs/ target=_blank> 网站介绍 </a><a class=text-decoration-none href=/help/about/gywm/ target=_blank> 关于我们 </a><a class=text-decoration-none href=/help/about/lxwm/ target=_blank> 联系我们 </a> </li> <li> <h5>版权问题</h5> <a class=text-decoration-none href=/help/banquan/bqsm/ target=_blank> 版权声明 </a><a class=text-decoration-none href=/help/banquan/qqcl/ target=_blank> 侵权处理 </a><a class=text-decoration-none href=/help/banquan/mzsm/ target=_blank> 免责声明 </a> </li> <li> <h5>协议条款</h5> <a class=text-decoration-none href=/help/xieyi/yhxy/ target=_blank> 用户协议 </a><a class=text-decoration-none href=/help/xieyi/fwtk/ target=_blank> 用户服务条款 </a><a class=text-decoration-none href=/help/xieyi/ysbh/ target=_blank> 用户隐私保护 </a> </li> <li> <h5>网站导航</h5> <a class="text-decoration-none help-nav-item" href="/sitemaps.xml" data-name="网站地图" target="_blank">网站地图</a> <a class="text-decoration-none help-nav-item" href="/list.html" data-name="全部分类" target="_blank">全部分类</a> <a class="text-decoration-none help-nav-item" href="/sitemaps/index.html" data-name="资源地图" target="_blank">资源地图</a> </li> </ul> <div class="foot-qrcode d-flex"> <div> <div class="subsitute-bg"><img src="https://www.wenku365.com/d/file/2022/07-08/f23df57d987ef7ad9acb33fe5abf9854.jpg"></div> <p>关注公众号<br></p> </div> </div> </div> </div> <div class="footer-copyright"> <p><a href="/" target="_blank">天天文库</a>站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有【成交的100%(原创)】。</p> <p>本站是网络服务平台方,若您的权利被侵害,侵权客服QQ:3074922707 欢迎举报。</p> <p>Copyright 2004-2021 <a href="https://www.wenku365.com/" target="_blank">wenku365.com</a> All Rights Reserved <a href="https://beian.miit.gov.cn/#/Integrated/index" rel="nofollow" target="_blank">闽ICP备15016911号-5 </a></p> <p>闽公网安备 <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=35052402000320" rel="nofollow" target="_blank">35052402000320</a></p> <p> <a href="https://www.wenku365.com/zt.html" target="_blank">专题文集</a> <a href="https://www.wenku365.com/zt-90007.html" target="_blank">丨职业培训</a> <a href="https://www.wenku365.com/zt-90005.html" target="_blank">丨实用范文</a> <a href="https://www.wenku365.com/zt-90010.html" target="_blank">丨商业材料</a> <a href="https://www.wenku365.com/zt-90013.html" target="_blank">丨合同协议</a> <a href="https://www.wenku365.com/zt-90009.html" target="_blank">丨PPT专题</a></p> </div> </footer> <script src="//static.wenku365.com/wenku365/js/global.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/clipboard.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/jquery.treeview.js?"></script> <script src="//static.wenku365.com/wenku365/js/jquery.share.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/common.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/downloadFile.js?"></script> <script src="//static.wenku365.com/wenku365/js/loginWindow.js?"></script> <script src="//static.wenku365.com/wenku365/js/windowRecharge.js?"></script> <script src="//static.wenku365.com/wenku365/js/viewer.min.js?"></script> <script src="//static.wenku365.com/wenku365/js/detail.js?"></script> <!-- 2023-05-06 21:02:10 --> </body> </html>