摘要: 修改tomcat下面的server.xml配置文件,改成这样 <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> connecti 阅读全文
posted @ 2016-12-01 15:09 晚`枫 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 我们都知道break只能跳出一层循环,如 那么如何跳出多重嵌套循环呢? 答案是使用标记 这样就可以了 阅读全文
posted @ 2016-11-26 16:14 晚`枫 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 一、父页面给iframe中的子页面传值,把值写入子页面的文本框里 father.html <script language="javascript" src="http://www.aspbc.com/js/jquery.js" type="text/javascript"></script> <s 阅读全文
posted @ 2016-11-25 18:09 晚`枫 阅读(10775) 评论(2) 推荐(1) 编辑
摘要: html代码: <div class="row-2-2 textarea" id="textareas"> <label class="item-dep-select">信息中心 X</label> </div> JS代码: var textareas = $("#textareas").text( 阅读全文
posted @ 2016-11-25 17:46 晚`枫 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 父页面: <div id="dep_select" onclick="$(this).css('display', 'none')" style="width: 100%; height: 100%; z-index: 1000; position:fixed; top: 0; left: 0; b 阅读全文
posted @ 2016-11-25 16:47 晚`枫 阅读(2306) 评论(0) 推荐(0) 编辑
摘要: 写代码: 1,明确需求。我要做什么? 2,分析思路。我要怎么做?1,2,3。 3,确定步骤。每一个思路部分用到哪些语句,方法,和对象。 4,代码实现。用具体的java语言代码把思路体现出来。 学习新技术的四点: 1,该技术是什么? 2,该技术有什么特点(使用注意): 3,该技术怎么使用。demo 4 阅读全文
posted @ 2016-04-26 17:00 晚`枫 阅读(148) 评论(0) 推荐(0) 编辑