设计模式 Design Patterns
|
|
- 事命 赵
- 4 years ago
- Views:
Transcription
1 丁勇
2 学习目标 与客户端交互 客户端跟踪
3 与客户端交互客户端跟踪
4 1 与客户端交互 HTTP servlet 与客户端的交互 通过 service 方法处理客户端的请求 service 方法根据请求 (request) 类型的不同, 调用不同的方法 对于 GET 请求, 调用 doget( ) 方法进行处理 对于 POST 请求, 调用 dopost( ) 方法进行处理
5 1 提取 Servlet 信息 注册的 servlet 都有相关的很多初始化参数 这些初始化参数写在 web.xml 中, 具体语法格式请参阅 Tomcat 文档 getinitparameter() 方法 可以得到 servlet 初始化的一些参数 返回一个指定参数的值 (String 类型 ) 如果指定参数不存在, 则返回 null getinitparameternames() 方法 可以得到初始化参数名称 返回 String 类型的 Enumeration 类型数据 如果不存在初始化参数, 则返回一个 null 的 Enumeration
6 1 提取 Servlet 信息 ( 续 ) 通过初始化建立数据库连接 通过 servlet 初始化参数建立一个数据库连接的程序段如下 java.sql.connection con = null; public void init(servletconfig config) throws ServletException { super.init(config); String host = getinitparameter("host"); int port = Integer.parseInt(getInitParameter("port")); String db = getinitparameter("db"); String user = getinitparameter("user"); String password = getinitparameter("password"); String proxy = getinitparameter("proxy"); con = establishconnection(host, port, db, user, password, proxy);
7 1 提取 Servlet 信息 ( 续 ) PrintInitParaNames.java 输出全部初始化参数名称 import java.io.*; import java.util.*; import javax.servlet.*; public class PrintInitParaNames extends GenericServlet { public voidservice(servletrequestreq, ServletResponseres) throws ServletException, IOException { res.setcontenttype("text/plain"); PrintWriter out = res.getwriter(); out.println("init Parameters As Following:"); Enumeration enum = getinitparameternames(); while (enum.hasmoreelements()) { String name = (String) enum.nextelement(); out.println(name ": " + getinitparameter(name));
8 2 提取服务器信息 servlet 可以得到很多服务器相关的信息, 同时可以将这些信息发送到客户端 getservername() 返回服务器名称 getserverport() 返回服务器监听端口 getserverinfo() 输出服务器程序和版本, 之间用 / 分开 getattribute() 返回服务程序的属性 得到路径相关的信息 public String HttpServletRequest.getPathInfo() public String HttpServletRequest.getPathTranslated()
9 2 提取服务器信息 ( 续 ) 提取服务器信息举例 import java.io.*; import java.util.*; import javax.servlet.*; public class ServerSnoop extends GenericServlet { public void service(servletrequest req, ServletResponse res) throws ServletException, IOException { res.setcontenttype("text/plain"); PrintWriter out = res.getwriter(); out.println("req.getservername() output: " + req.getservername()); out.println("req.getserverport() output: " + req.getserverport()); out.println("getservletcontext().getserverinfo() output: " + getservletcontext().getserverinfo() ); out.println("getservletcontext().getattribute(\"attribute\") output: " + getservletcontext().getattribute("attribute") );
10 3 提取客户端信息 服务器可以从 request 得到很多客户端的信息 getremoteaddr(): 得到 IP 地址 getremotehost(): 得到客户端机器的名称 利用 InetAddress.getByName() 方法可以将 IP 地址或客户端机器名称转换成一个 java.net.inetaddress 类型的对象 InetAddress remoteinetaddress = InetAddress.getByName(req.getRemoteAddr()); 通过获取客户端的地址, 并判断是否隶属某个范围, 可以限制某个地区的用户访问你的网站
11 3 提取客户端信息 ( 续 ) 服务器可以得到客户想做的事情 客户请求表现为表单数据, 由 名 / 值 对组成 当提交某一个网页的时候常常在浏览器地址栏中看到类似格式的数据格式 name/value, 每对之间用 & 隔开, 表达式为 param1=value1¶m2=value2¶m3=value3 request.getparameter: 得到表单参数的值 request.getparametervalues: 得到多次出现的参数值 reques.getparameternames: 得到当前请求中所有参数的完整列表, 调用形式如下 public String ServletRequest.getParameter(String name) public String[] ServletRequest.getParameterValues(String name)
12 3 提取客户端信息 ( 续 ) Query.html 书本查询的一个 HTML 网页!DOCTYPE HTML PUBLIC " //W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE> A Sample Form for Query a Book </TITLE> </HEAD> <BODY BGCOLOR="#FDF5E6"> <FORM METHOD=GET ACTION="/Chapter11/QueryServlet"> Book to look up: <INPUT TYPE="TEXT" NAME="Book" VALUE=" Servlet Programming"> <! The default book to be looked up is: Servlet Programming. > <INPUT TYPE=SUBMIT> </FORM> </BODY> </HTML>
13 3 提取客户端信息 ( 续 ) QueryServlet.java 获取客户端信息的 servlet import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class QueryServlet extends HttpServlet { public void doget(httpservletrequest req, HttpServletResponse res) throws ServletException, IOException { res.setcontenttype("text/html;charset=utf 8"); String querybookvalue=req.getparameter("book"); PrintWriter out = res.getwriter(); out.println("the book you wanted is:"+querybookvalue); out.close();
14 3 提取客户端信息 ( 续 ) query.html 与 QueryServlet 运行结果
15 4 发送 HTML 信息 Web 服务器响应 (response) 的构成 状态行 由 http 版本 (HTTP/1.1), 一个状态代码 (200) 和一段对应状态代码的简短消息 (OK) 组成 一些响应报头 Content Type: text/html 指定后面文档 MIME 类型, 后面的其他报头可选 常用 MIME 类型有 : text/html : HTML 文档 text/plain: 纯文本 text/xml: XML image/jpeg:jepg 图像 application/msword: Microsoft Word 文档 application/pdf:crobat 文件 application/zip:zip 档案 一个空行和响应的文档
16 4 发送 HTML 信息 ( 续 ) HTTP/ OK // 状态行 Content Type: text/html // 报头 Header2: HeaderN: // 空行 <!DOCTYPE HTML PUBLIC " //W3C//DTD HTML 4.0 Transitional//EN"> // 文档 <HTML> <HEAD> head code </HEAD> <BODY> </BODY></HTML>
17 4 发送 HTML 信息 ( 续 ) 向客户端输出一个简单网页, 显示 Hello World! import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet { public void doget( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { res.setcontenttype("text/html"); PrintWriter out = res.getwriter(); out.println("<html>"); out.println("<head><title>hello World</TITLE></HEAD>"); out.println("<body>"); out.println("<big>hello World!</BIG>"); out.println("</body></html>");
18 4 发送 HTML 信息 ( 续 ) 程序说明 HelloWorld 继承了 HttpServlet, 然后重写 doget 方法 在 doget 方法中, 首先将 HTTP Content Type 响应报头设置为 text/html, 即指定响应的类型为 HTML 文档 ; 然后通过 getwriter() 得到 PrintWriter 类型的一个对象 out, 按照 HTML 格式输出一个简单网页
19 4 发送 HTML 信息 ( 续 ) 运行结果
20 与客户端交互客户端跟踪
21 2 客户端跟踪 客户端跟踪 HTTP 是无状态协议, 服务器不能自动维护客户连接的上下文信息 许多情况下,Web 服务器必须要能够跟踪用户的状态 比如购物网站和电子邮件网站, 当用户登录以后, 其身份和一系列的操作状态都需要被跟踪并保持 servlet API 提供了两种可以跟踪客户端状态的方法 Cookie Session
22 1 使用 Cookie Cookie 是 Web 服务器保存在用户硬盘上的一段文本,Web 服务器将它发送到浏览器 之后, 当再次访问同一网络时, 浏览器将它原封不动的返回 其中的信息片断以 名 / 值 对 (name value pairs) 的形式储存 使用这种方法, 网站可以维护客户的连接 这种用途可以体现在如下几点 在电子商务中标识用户, 实现短期跟踪用户 记录用户名和用户密码, 允许用户下次自动登陆 定制站点, 记录用户的偏好 定向广告, 记录用户感兴趣的主题, 并显示与之相关的广告
23 1 使用 Cookie( 续 ) 创建 Cookie 对象 调用 Cookie 的构造函数可创建一个 cookie 构造方法接受两个字符串参数 cookie 名称 cookie 的值 例如创建一个名为 CookieName, 值为 John 的 cookie, 可以使用下面的语句 Cookie login = new Cookie( CookieName, John );
24 1 使用 Cookie( 续 ) 设置 Cookie 属性 创建了一个名为 login 的 cookie 之后, 可通过很多现有的方法设置 cookie 的值和属性 可通过如下语句设置 cookie 的注释 : login.setcoment( You can get UserName form this cookie ); 创建 cookie 并将它发送到浏览器后, 默认情况下, 它是会话级的 cookie, 仅仅存储在浏览器内存中, 用户退出浏览器后,cookie 将被删除 ; 如果希望将 cookie 存储在磁盘上, 则需要设定 MaxAge, 给出一个以秒为单位的生命周期, 如下 可以将生命设置为一天 login.setmaxage(60*60*24) // one day setpath(),setvalue(),setversion(),setdomain(),setsecure() 等, 相关的具体用法请查看 servlet API
25 刚创建的 cookie 存在于服务器内存中 必须将它发送到客户端, cookie 才能真正的发挥作用 发送 cookie 需要使用 HttpServletResponse 的 addcookie 方法, 将 cookie 插入到一个 HTTP 响应报头 发送的语句如下 public void doget (HttpServletRequest req, HttpServletResponse res) { throws ServletException, IOException Cookie login = new Cookie( UserName, John ); login.setcoment( You can get UserName form this cookie ); res.addcookie(login); //... 1 使用 Cookie( 续 ) 发送 Cookie 到客户端
26 1 使用 Cookie( 续 ) 从客户读取 Cookie 从客户端读取你感兴趣的 cookie, 需要两个步骤 首先调用 request.getcookies 得到一个 Cookie 对象的数组 然后调用每个 cookie 的 getname 方法, 从数组中寻找所需的 cookie String namestring = UserName Cookie[] cookies = request.getcookies(); for ( int i=0; i<cookies.length; i++) { Cookie cookie = cookies[i]; if (namestring.equals( cookie.getname()) ) { // do something // cookies.setmaxage(0); 找到感兴趣的 cookie 之后, 便可以操作此 cookie, 如通过 getvalue 方法得到相关 cookie 的值, 设置 MaxAge 等
27 2 使用 Session Session 一段时间内, 单个客户与 web 服务器的一连串的交互过程 在一个 Session 中客户可能会多次请求访问同一个网页, 也有可能请求访问各种不同的服务器资源, 其间用户的状态需要跟踪并保持 存在于服务器端, 不在网络上传送 它的好处是可以用来记录客户端私有的信息, 并且在时间范围内不会消失
28 2 使用 Session( 续 ) Session 的使用可以分为三个步骤 获得一个 session 存储数据到 session 或从 session 读取数据 销毁 session
29 2 使用 Session( 续 ) 获得一个 Session 通过调用 httpservletrequest 的 getsession 方法可以得到一个 session HttpSession session = request.getsession(); 为了保持正确的会话, 必须在发送任何文档到客户程序之前获得一个 session public class SessionServlet extends HttpServlet { public void doget( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // Get the user's session HttpSession session = request.getsession(true); //... out = response.getwriter(); //...
30 Session ID 2 使用 Session( 续 ) 存储或读取数据 Servlet 容器为 HttpSession 分配的一个唯一标识符 作为 Cookie 保存在客户的浏览器中 session cookie 每次客户发出 HTTP 请求时,Servlet 容器可以从 HttpRequest 对象中读取 Session ID, 然后根据 Session ID 在服务器端找到相应的 HttpSession 对象, 从而获取客户的状态信息, 这样的 cookie 叫做 session cookie 存储于浏览器内存中的, 并不写到硬盘上的 针对某一次会话而言, 会话结束也就随着消失了
31 URL 重写 2 使用 Session( 续 ) 存储或读取数据 浏览器不支持 Cookie, 或者将浏览器设置为不接受 Cookie 的情况, 可通过 URL 重写来实现会话管理 向 URL 连接添加参数, 并把 session ID 作为值包含在连接中 为 servlet 响应部分的每个连接添加 session ID, 可以使用一对方法 response.encodeurl() : 使 URL 包含 session ID response.encoderedirecturl(): 使用重定向
32 2 使用 Session( 续 ) 从 Session 中读取数据 session.getattribute( name ) 查找以前存储的值 如果不存在则返回 null 存储或读取数据 在调用此方法返回的对象前, 一定要检查它是否为 null 向 session 中设置相关信息 setattribute 替换掉此前设定的任何值 removeattribute 移除而不是替换某个值
33 2 使用 Session( 续 ) SessionServlet.java public class SessionServlet extends HttpServlet { public void doget (HttpServletRequest request,httpservletresponse response) throws ServletException, IOException { // Get the user's session HttpSession session = request.getsession(true); SomeClass scl = (SomeClass)session.getAttribute( "name1 ); // If the user has no SomeClass object, create a new one if (scl == null) { scl = new SomeClass(); session.putattribute( "name1", scl ); //...
34 销毁 Session 销毁 Session, 意味着从系统删除 session 对象及其值 自动销毁 在一段时间 ( 时间长短依赖与 Web 服务器的设定 ) 没有 request 的情况下,Web 服务器会自动销毁 session 手动销毁 2 使用 Session( 续 ) 通过调用 session 的 invalidate 方法可以手动的销毁 session
35 销毁 Session 销毁 Session, 意味着从系统删除 session 对象及其值 logout 2 使用 Session( 续 ) 在支持 servlet2.4 的服务器中, 可调用 logout 将客户从 Web 服务器中注销, 同时废弃所有与该用户相关联的会话 需要注意的是, 这个动作会影响到此 servlet 之外的其他 servlet, 因此一定要与网站的其他开发人员协调使用
09 (File Processes) (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises)
09 (File Processes) 9-1 9-2 (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises) Java Servlet 9-1 Servlet (File Processes) Client Servlet Servlet Java Java (Stream)
More informationServlet
Servlet Allen Long Email: allen@huihoo.com http://www.huihoo.com 2004-04 Huihoo - Enterprise Open Source http://www.huihoo.com 1 Huihoo - Enterprise Open Source http://www.huihoo.com 2 GET POST Huihoo
More informationD getinitparameternames() 9 下 列 选 项 中, 属 于 Servlet API 中 提 供 的 request 对 象 的 包 装 类 的 是 ( ) A HttpServletRequestWrapper B HttpServletRequest C HttpServ
第 四 章 Filter( 过 滤 器 ) 样 题 A 卷 一 选 择 题 ( 每 小 题 2 分, 共 20 分 ) 1 下 面 选 项 中, 用 于 实 现 初 始 化 过 滤 器 的 方 法 是 ( ) A init(filterconfig filterconfig) B dofilter(servletrequest req,servletresponse resp,filterchain
More informationMicrosoft PowerPoint - 02-Servlet-Basics-Chinese.ppt
2004 Marty Hall servlet 基础 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More informationMicrosoft PowerPoint - 05-Status-Codes-Chinese.ppt
2004 Marty Hall 服务器响应的生成 : HTTP 状态代码 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More informationresp.getwriter().print(j + "*" + i + "=" + j * i+" "); resp.getwriter().print("<br/>"); protected void dopost(httpservletrequest req, HttpServletRespo
第三章补充案例 案例 3-1 HttpServlet 一 案例描述 1 考核知识点名称 :HttpServlet 编号 : 2 练习目标 掌握 HttpServlet 的 doget() 方法和 dopost() 方法 3 需求分析由于大多数 Web 应用都是通过 HTTP 协议和客户端进行交互, 因此, 在 Servlet 接口中, 提供了 一个抽象类 javax.servlet.http.httpservlet,
More informationエスポラージュ株式会社 住所 : 東京都江東区大島 東急ドエルアルス大島 HP: ******************* * 关于 Java 测试试题 ******
******************* * 关于 Java 测试试题 ******************* 問 1 运行下面的程序, 选出一个正确的运行结果 public class Sample { public static void main(string[] args) { int[] test = { 1, 2, 3, 4, 5 ; for(int i = 1 ; i System.out.print(test[i]);
More information(TestFailure) JUnit Framework AssertionFailedError JUnit Composite TestSuite Test TestSuite run() run() JUnit
Tomcat Web JUnit Cactus JUnit Java Cactus JUnit 26.1 JUnit Java JUnit JUnit Java JSP Servlet JUnit Java Erich Gamma Kent Beck xunit JUnit boolean JUnit Java JUnit Java JUnit Java 26.1.1 JUnit JUnit How
More information1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6
www.brainysoft.net 1.JasperReport ireport...4 1.1 JasperReport...4 1.2 ireport...4 2....4 2.1 JDK...4 2.1.1 JDK...4 2.1.2 JDK...5 2.1.3 JDK...5 2.2 ant...6 2.2.1 ant...6 2.2.2 ant...6 2.3 JasperReport...7
More informationMicrosoft PowerPoint - 07-Cookies-Chinese.ppt
2004 Marty Hall cookie 管理 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More information本章学习目标 小风 Java 实战系列教程 SpringMVC 简介 SpringMVC 的入门案例 SpringMVC 流程分析 配置注解映射器和适配器 注解的使用 使用不同方式的跳转页面 1. SpringMVC 简介 Spring web mvc
本章学习目标 SpringMVC 简介 SpringMVC 的入门案例 SpringMVC 流程分析 配置注解映射器和适配器 配置视图解析器 @RequestMapping 注解的使用 使用不同方式的跳转页面 1. SpringMVC 简介 Spring web mvc 和 Struts2 都属于表现层的框架, 它是 Spring 框架的一部分, 我们可 以从 Spring 的整体结构中看得出来 :
More information基于CDIO一体化理念的课程教学大纲设计
Java 语 言 程 序 设 计 课 程 教 学 大 纲 Java 语 言 程 序 设 计 课 程 教 学 大 纲 一 课 程 基 本 信 息 1. 课 程 代 码 :52001CC022 2. 课 程 名 称 :Java 语 言 程 序 设 计 3. 课 程 英 文 名 称 :Java Programming 4. 课 程 类 别 : 理 论 课 ( 含 实 验 上 机 或 实 践 ) 5. 授
More informationMicrosoft PowerPoint - 08-Session-Tracking-Chinese.ppt
2004 Marty Hall 会话跟踪 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More information没 有 多 余 的 Contruol 或 Action 了 原 来 Domain 层 被 服 务 层 Service layer 遮 挡, 在 右 边 图 中, 则 Domain 层 直 接 暴 露 给 前 台 了, 没 有 被 遮 挡, 裸 露 了 这 样 一 步 到 位 实 现 领 域 模 型
文 章 编 号 :1007-757X(2012)1-0036-04 领 域 驱 动 模 型 的 WEB 软 件 系 统 设 计 研 究 摘 要 : J2EE 3 JDK1.7 Tomcat WEB 关 键 词 : 中 图 分 类 号 :TP311 文 献 标 志 码 :A 0 引 言 Web 软 件 系 统 的 分 层 结 构 典 型 的 J2EE 软 件 系 统 开 发 方 法 分 为 三 层 结
More informationMicrosoft Word - 第4章 Servlet开发—教学设计.doc
传智播客 JavaWeb 程序开发入门 教学设计 课程名称 : JavaWeb 程序开发入门 授课年级 : 2014 年级 授课学期 : 2014 学年第一学期 教师姓名 : 某某老师 2014 年 09 月 09 日 课题名称内容分析教学目标及基本要求重点及措施 计划第 4 章 Servlet 技术 6 课时学时随着 Web 应用业务需求的增多, 动态 Web 资源的开发变得越来越重要, 为此 Sun
More information设计模式 Design Patterns
丁勇 Email:18442056@QQ.com 学习目标 网络程序设计的基本概念 Servlet 基础 Servlet 的生命周期 网络程序设计的基本概念 Servlet 基础 Servlet 的生命周期 1 网络程序设计的基本概念 网络将世界联系在一起, 使世界变得更加丰富多彩 同时网络互连是一个内容丰富而复杂的主题, 所以这方面的程序设计涉及面很广且不易掌握 与其他语言相比, 语言在网络应用程序方面具有一定的优势
More informationuntitled
PowerBuilder Tips 利 PB11 Web Service 年度 2 PB Tips PB9 EAServer 5 web service PB9 EAServer 5 了 便 web service 來說 PB9 web service 力 9 PB11 release PB11 web service 力更 令.NET web service PB NVO 論 不 PB 來說 說
More informationuntitled
1 .NET sln csproj dll cs aspx 說 料 料 利 來 料 ( 來 ) 利 [] [] 來 說 切 切 理 [] [ ] 來 說 拉 類 類 [] [ ] 列 連 Web 行流 來 了 不 不 不 流 立 行 Page 類 Load 理 Click 滑 料 Response 列 料 Response HttpResponse 類 Write 料 Redirect URL Response.Write("!!
More informationMicrosoft Word - 第4章 Servlet技术—样章.doc
第 4 章 Servlet 技术 学习目标 u 熟悉 Servlet 在生命周期中调用的方法 u 掌握 HttpServlet 类的作用及其使用 u 掌握 Servlet 虚拟路径的映射 u 掌握 ServletConfig 和 ServletContext 接口的使用 随着 Web 应用业务需求的增多, 动态 Web 资源的开发变得越来越重要 目前, 很多公司都提供了开发动态 Web 资源的相关技术,
More informationMicrosoft Word - 01.DOC
第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的
More information1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 ->
目录 1 大概思路... 1 2 创建 WebAPI... 1 3 创建 CrossMainController 并编写... 1 4 Nuget 安装 microsoft.aspnet.webapi.cors... 4 5 跨域设置路由... 4 6 编写 Jquery EasyUI 界面... 5 7 运行效果... 7 8 总结... 7 1 1 大概思路 创建 WebAPI 创建 CrossMainController
More informationWebEx 一键集成 1 文档目的 Web 集成 URL API 语法 启会 加会 调用 移动集成 wbx schema 调用 取得 sessionticket...4
WebEx 一键集成 1 文档目的...1 2 Web 集成...1 2.1 URL API 语法...1 2.2 启会...2 2.3 加会...3 2.4 调用...3 3 移动集成...3 3.1 wbx schema...3 3.2 调用...4 4 取得 sessionticket...4 1 文档目的 本文档目的是, 让用户了解如何在 Web 端和移动端, 一键调用 WebEx app,
More informationMicrosoft Word - json入门.doc
Json 入门 送给亲爱的女朋友, 祝她天天快乐 作者 :hlz QQ:81452743 MSN/Email:hulizhong2008@163.com json 入门 (1) json 是 JavaScript Object Notation 的简称 ; 在 web 系统开发中与 AJAX 相结合用的比较多 在 ajax 中数据传输有 2 中方式 : 文本类型, 常用 responsetext 属性类获取
More information服务器将响应传输给客户端 Servlet 技术具有如下特点 : 方便 :Servlet 提供了大量的实用工具例程, 如处理很难完成的 HTML 表单数据 读取和设置 HTTP 头, 以及处理 Cookie 和跟踪会话等 跨平台 :Servlet 用 Java 类编写, 可以在不同操作系统平台和不同应
第 3 章 Servlet 基础 学习目标 掌握 Servlet 接口及其实现类的使用 了解 Servlet 的生命周期 熟练使用 Eclipse 工具开发 Servlet 掌握 Servlet 虚拟路径映射的配置 随着 Web 应用业务需求的增多, 动态 Web 资源的开发变得越来越重要 目前, 很多公司都提供了开发动态 Web 资源的相关技术, 其中比较常见的有 ASP PHP JSP 和 Servlet
More informationC++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1
C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 月 3 日 1 1 INPUTOUTPUT 1 InputOutput 题目描述 用 cin 输入你的姓名 ( 没有空格 ) 和年龄 ( 整数 ), 并用 cout 输出 输入输出符合以下范例 输入 master 999 输出 I am master, 999 years old. 注意 "," 后面有一个空格,"." 结束,
More informationPowerPoint プレゼンテーション
Perl CGI 1 Perl CGI 2 Perl CGI 3 Perl CGI 4 1. 2. 1. #!/usr/local/bin/perl 2. print "Content-type: text/html n n"; 3. print " n"; 4. print " n"; 3. 4.
More informationMicrosoft PowerPoint - 06-Response-Headers-Chinese.ppt
2004 Marty Hall 服务器响应的生成 : HTTP 响应报头 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More information在所有的项目开发中, 一定是多人协作的团队开发, 但是使用框架就会出现一个问题, 我们所 有的 Action 以及相关的路径都要求在我们的 struts.xml 文件中配置, 如果所有的人去修改一个 文件, 那么就会变得混乱, 而且有可能出现冲突, 那么在 struts.xml 文件中为了解决这个问
内置对象的取得和多人开发 一 内置对象的取得 在使用的 servlet 的时候可以通过 HttpServletResquest 获取到一些内置对象, 但是在 struts2 中为了方便取得内置对象, 专门提供了一个 ServletActionContext 这个类取得取得内置对象, 观察如下方法 public static javax.servlet.jsp.pagecontext() 取得 pagecontext
More information停止混流接口 请注意 : 该功能需要联系 ZEGO 技术支持开通 1 接口调用说明 http 请求方式 : POST/FORM, 需使用 https 正式环境地址 access_token=access_token (http
停止混流接口 请注意 : 该功能需要联系 ZEGO 技术支持开通 1 接口调用说明 http 请求方式 : POST/FORM, 需使用 https 正式环境地址 https://webapi.zego.im/cgi/stop-mix? access_token=access_token (https://webapi.zego.im/cgi/stop-mix? access_token=access_token)
More informationuntitled
ArcGIS Server Web services Web services Application Web services Web Catalog ArcGIS Server Web services 6-2 Web services? Internet (SOAP) :, : Credit card authentication, shopping carts GIS:, locator services,
More information新・解きながら学ぶJava
481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --
More informationweb程序设计.doc
学习中心 姓名 学号 西安电子科技大学网络与继续教育学院 Web 程序设计 全真试题 ( 闭卷 90 分钟 ) 题号一二三四总分 题分 20 20 30 30 得分 一 选择题 ( 每题 2 分, 共 20 分 ) 1. Web 的工作模式是 : ( ) A. 客户端 / 服务器端 B. 浏览器 / 服务器 C. 浏览器 / 浏览器 D. 浏览器 / 客户端 2. Session 对象的默认有效期为多少分钟?(
More informationMicrosoft PowerPoint - 03-Form-Data-Chinese.ppt
2004 Marty Hall 客户请求的处理 : 表单数据 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More information设计模式 Design Patterns
丁勇 Email:18442056@QQ.com 学习目标 掌握 Model I 体系结构 掌握 Model II 体系结构 掌握 MVC 应用程序 Model I 体系结构 6 1 Model I 体系结构结合使用 JSP 页面和 Bean 来开发 Web 应用程序 应用服务器 请求 JSP 页面 响应 Bean 数据库服务器 Model I 体系结构 6 2 Model I 体系结构用于开发简单的应用程序
More informationXXXXXXXX http://cdls.nstl.gov.cn 2 26
[ ] [ ] 2003-7-18 1 26 XXXXXXXX http://cdls.nstl.gov.cn 2 26 (2003-7-18) 1...5 1.1...5 1.2...5 1.3...5 2...6 2.1...6 2.2...6 2.3...6 3...7 3.1...7 3.1.1...7 3.1.2...7 3.1.2.1...7 3.1.2.1.1...8 3.1.2.1.2...10
More informationEJB-Programming-3.PDF
:, JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Value Object Design Pattern J2EE Design Patterns Value Object Value Object Factory J2EE EJB Test Client
More informationOOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double
More informationEJB-Programming-4-cn.doc
EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session
More informationuntitled
653 JAVA 2008 11 Institution of Software Engineer... 2... 4... 4... 5... 5... 8... 8... 8... 8... 8... 9... 9... 9... 11... 13... 13... 13... 13... 15... 15... 15... 15... 16... 16... 17... 17... 17...
More informationJSP基础编程
JSP 基础编程 报告人 : 包亮 邮箱 :rslab@lzb.ac.cn HTTP 基础 HTTP is a simple, stateless protocol. A client, such as a web browser, makes a request, the web server responds, and the transaction is done. Client 发出一个请求
More informationWWW PHP
WWW PHP 2003 1 2 function function_name (parameter 1, parameter 2, parameter n ) statement list function_name sin, Sin, SIN parameter 1, parameter 2, parameter n 0 1 1 PHP HTML 3 function strcat ($left,
More informationMicrosoft Word - PHP7Ch01.docx
PHP 01 1-6 PHP PHP HTML HTML PHP CSSJavaScript PHP PHP 1-6-1 PHP HTML PHP HTML 1. Notepad++ \ch01\hello.php 01: 02: 03: 04: 05: PHP 06:
More informationJavaIO.PDF
O u t p u t S t ream j a v a. i o. O u t p u t S t r e a m w r i t e () f l u s h () c l o s e () public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException
More informationebook4-12
12 CGI C G I (Common Gateway Interface) We b P H P C G I H T M L H T T P H T M L We b H T T P We We b I n t e r n e t R F C h t t p : / / w w w. i e t f. o rg / P H P C G I C G A p a c h e C G I P H P
More informationChinaBI企业会员服务- BI企业
商业智能 (BI) 开源工具 Pentaho BisDemo 介绍及操作说明 联系人 : 杜号权苏州百咨信息技术有限公司电话 : 0512-62861389 手机 :18616571230 QQ:37971343 E-mail:du.haoquan@bizintelsolutions.com 权限控制管理 : 权限控制管理包括 : 浏览权限和数据权限 ( 权限部分两个角色 :ceo,usa; 两个用户
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-065Big5 Title : Sun Certified Programmer for the Java 2 Platform, SE 6.0 Version : Demo 1 / 14 1. 35. String #name = "Jane Doe"; 36. int
More informationSDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基
开放数据处理服务 ODPS SDK SDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基础功能的主体接口, 搜索关键词 "odpssdk-core" 一些
More informationuntitled
158 JSP Java Server Pages JSP 11 6 Web XML Web Java JSP 100084 http://www.tup.tsinghua.edu.cn 787 1092 1/16 26.5 641 2001 3 1 2001 3 1 ISBN 7-302-01397-7/TP 540 0001~5000 38.00 Internet HTML HTML HTML
More informationMicrosoft PowerPoint - 04-Request-Headers-Chinese.ppt
2004 Marty Hall 客户请求的处理 : HTTP 请求报头 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press: http://www.coreservlets.com
More informationRUN_PC連載_10_.doc
PowerBuilder 8 (10) Jaguar CTS ASP Jaguar CTS PowerDynamo Jaguar CTS Microsoft ASP (Active Server Pages) ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar Server ASP
More information"+handlermethod.getbean().getclass().getname()); public void aftercompletion(httpservletrequest req, HttpServletResponse resp, Object handler, Excepti
SpringBoot 的配置 一 拦截器的配置 1 定义一个表单 用户名 : 密 码 :
More informationTopTest_Adminstrator.doc
壹 前 言... 3 貳 系 統 簡 介... 4 一 TKB multimedia Top-Test 系 統 架 構...4 1. 使 用 者 介 面 層 (Presentation tier)...5 2. 商 業 邏 輯 層 (business logic tier)...5 3. 資 料 服 務 層 (data services tier)...5 二 TKB Multimedia Top-Test
More informationchapter 2 HTML5 目錄iii HTML HTML HTML HTML HTML canvas
Contents 目錄 chapter 1 1-1... 1-2 1-2... 1-3 HTML5... 1-3... 1-5 1-3... 1-9 Web Storage... 1-9... 1-10 1-4 HTML5... 1-14... 1-14... 1-15 HTML5... 1-15... 1-15... 1-16 1-5... 1-18 Apps... 1-18 HTML5 Cache
More information雲端 Cloud Computing 技術指南 運算 應用 平台與架構 10/04/15 11:55:46 INFO 10/04/15 11:55:53 INFO 10/04/15 11:55:56 INFO 10/04/15 11:56:05 INFO 10/04/15 11:56:07 INFO
CHAPTER 使用 Hadoop 打造自己的雲 8 8.3 測試 Hadoop 雲端系統 4 Nodes Hadoop Map Reduce Hadoop WordCount 4 Nodes Hadoop Map/Reduce $HADOOP_HOME /home/ hadoop/hadoop-0.20.2 wordcount echo $ mkdir wordcount $ cd wordcount
More information第壹拾篇
- 目 次 - 目 次 表 目 次... 1 圖 目 次... 1 凡 例... 1 本 鎮 宗 教 禮 俗 篇 大 事 記... 1 緒 論... 1 第 一 章 宗 教 亯 伖... 3 第 一 節 傳 統 民 間 宗 教... 3 第 二 節 天 主 教 與 基 督 教... 31 第 三 節 日 本 神 社... 35 第 二 章 風 俗 習 慣... 38 第 一 節 歲 時 禮 俗...
More information软件概述
Cobra DocGuard BEIJING E-SAFENET SCIENCE & TECHNOLOGY CO.,LTD. 2003 3 20 35 1002 010-82332490 http://www.esafenet.com Cobra DocGuard White Book 1 1....4 1.1...4 1.2 CDG...4 1.3 CDG...4 1.4 CDG...5 1.5
More information關於本書 l 3 PhoneGap Appcelerator Titanium Sencha Touch (wrapper framework) Native App PhoneGap Build Native App Hybrid App Java Objective-C Android SDK
2 l 跨裝置網頁設計 Android ios Windows 8 BlackBerry OS Android HTML 5 HTML 5 HTML 4.01 HTML 5 CSS 3 CSS 3 CSS 2.01 CSS 3 2D/3D PC JavaScript
More informationext-web-auth-wlc.pdf
使 用 无 线 局 域 网 控 制 器 的 外 部 Web 身 份 验 证 配 置 示 例 目 录 简 介 先 决 条 件 要 求 使 用 的 组 件 规 则 背 景 信 息 外 部 Web 身 份 验 证 过 程 网 络 设 置 配 置 为 来 宾 用 户 创 建 动 态 接 口 创 建 预 先 身 份 验 证 ACL 在 WLC 上 为 来 宾 用 户 创 建 本 地 数 据 库 配 置 外 部
More information获取 Access Token access_token 是接口的全局唯一票据, 接入方调用各接口时都需使用 access_token 开发者需要进行妥善保存 access_token 的存储至少要保留 512 个字符空间 access_token 的有效期目前为 2 个小时, 需定时刷新, 重复
获取 Access Token access_token 是接口的全局唯一票据, 接入方调用各接口时都需使用 access_token 开发者需要进行妥善保存 access_token 的存储至少要保留 512 个字符空间 access_token 的有效期目前为 2 个小时, 需定时刷新, 重复 获取将导致上次获取的 access_token 失效 接入方可以使用 AppID 和 AppSecret
More informationMASQUERADE # iptables -t nat -A POSTROUTING -s / o eth0 -j # sysctl net.ipv4.ip_forward=1 # iptables -P FORWARD DROP #
iptables 默认安全规则脚本 一 #nat 路由器 ( 一 ) 允许路由 # iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT ( 二 ) DNAT 与端口转发 1 启用 DNAT 转发 # iptables -t nat -A PREROUTING -p tcp -d 192.168.102.37 dprot 422 -j DNAT to-destination
More information无类继承.key
无类继承 JavaScript 面向对象的根基 周爱 民 / aimingoo aiming@gmail.com https://aimingoo.github.io https://github.com/aimingoo rand = new Person("Rand McKinnon",... https://docs.oracle.com/cd/e19957-01/816-6408-10/object.htm#1193255
More informationJava Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream Class java.io.datainptstream (extends) FilterInputStream InputStream Obj
Message Transition 5-1 5-2 DataInputStream Class 5-3 DataOutputStream Class 5-4 PrintStream Class 5-5 (Message Transition) (Exercises) Java Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream
More informationChapter 9: Objects and Classes
Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum
More informationServlet技术
Servlet 技 术 1 复 习 几 个 要 点 2 请 求 (request) 用 户 何 时 发 起 一 个 请 求 点 击 一 个 链 接 提 交 一 个 表 单 在 地 址 栏 键 入 一 个 Web 地 址! 请 求 通 过 URL 来 指 定 http://www.neusoft.edu.cn:80/cs/news.html URL 的 构 成 : http:// 代 表 超 文 本
More informationOOP with Java 通知 Project 3: 3 月 29 日晚 9 点 4 月 1 日上课
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 3: 3 月 29 日晚 9 点 4 月 1 日上课 复习 Java 包 创建包 : package 语句, 包结构与目录结构一致 使用包 : import restaurant/ - people/ - Cook.class - Waiter.class - tools/ - Fork.class
More informationuntitled
1 行 行 行 行.NET 行 行 類 來 行 行 Thread 類 行 System.Threading 來 類 Thread 類 (1) public Thread(ThreadStart start ); Name 行 IsAlive 行 行狀 Start 行 行 Suspend 行 Resume 行 行 Thread 類 (2) Sleep 行 CurrentThread 行 ThreadStart
More informationOOP with Java 通知 Project 3 提交时间 3 月 29 日晚 9 点 Piazza Project 2 投票
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 3 提交时间 3 月 29 日晚 9 点 Piazza Project 2 投票 复习 创建对象 构造函数 函数重载 : 函数 = 函数名 + 参数列表 public class MyType { int i; double d; char c; void set(double x)
More information* 4 6 R P r p . 1 2 3 4 7 89bk 6 5 1 2 3 4 5 6 7 8 9 0 bk r bl bm bn^ bo bl br bq bpbo bn bm [ ] [ ] [ ] bp 8 2 4 6 bq p [ ] [SET] br clckbt bs bs bt ck cl. 1 2 1 2+- 3 3 . 1 2 3 4 5 6 7 8 9 bk bl bm
More informationebook70-13
1 3 I S P O p e n L i n u x Point to Point Protocol P P P I S P L i n u x 10 L i n u x World Wide We b 13.1 We b f t p ( ) f t p (File Transfer Protocol F T P ) F T P g e t p u t 13. 1. 1 F T P f t p n
More information第一章 章标题-F2 上空24,下空24
Web 9 XML.NET Web Web Service Web Service Web Service Web Service Web Service ASP.NET Session Application SOAP Web Service 9.1 Web Web.NET Web Service Web SOAP Simple Object Access Protocol 9.1.1 Web Web
More informationKubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7.
Kubernetes 包管理理 工具 Helm 蔺礼强 Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7. Kubernetes
More information07-form
PHP 的输 入 表单与 文件上传杨亮 Web 基本流程 请求 页 面 对应 文件 获取数据 PC Mobile HTTP 请求 html css javascript 服务器 (Apache) (IIS) html css javascript 后端脚本 (PHP) (JSP) (ASP) 数据库 (MySQL) (Oracle) (Access) 返回 页 面 返回 页 面 返回数据 客户端 服务器端
More informationuntitled
1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override
More information2 Java 语 言 程 序 设 计 教 程 1.2.1 简 单 性 Java 语 言 的 语 法 与 C 语 言 和 C++ 语 言 很 接 近, 使 得 大 多 数 程 序 员 很 容 易 学 习 和 使 用 Java 另 一 方 面,Java 丢 弃 了 C++ 中 很 少 使 用 的 很 难
第 1 章 Java 概 述 Java 的 诞 生 Java 的 特 点 Java 开 发 环 境 安 装 与 配 置 创 建 并 运 行 一 个 简 单 的 Java 程 序 Java 语 言 是 当 今 计 算 机 软 件 行 业 中 最 热 门 的 网 络 编 程 语 言, 以 Java 为 核 心 的 芯 片 技 术 编 译 技 术 数 据 库 连 接 技 术, 以 及 基 于 企 业 级
More informationuntitled
4.1AOP AOP Aspect-oriented programming AOP 來說 AOP 令 理 Cross-cutting concerns Aspect Weave 理 Spring AOP 來 AOP 念 4.1.1 理 AOP AOP 見 例 來 例 錄 Logging 錄 便 來 例 行 留 錄 import java.util.logging.*; public class HelloSpeaker
More informationuntitled
JavaEE+Android - 6 1.5-2 JavaEE web MIS OA ERP BOSS Android Android Google Map office HTML CSS,java Android + SQL Sever JavaWeb JavaScript/AJAX jquery Java Oracle SSH SSH EJB+JBOSS Android + 1. 2. IDE
More information中 国 矿 业 大 学
实验一动态网页设计基础 实验目的 : 1 掌握 HTML 的常用标签 2 掌握 HTML 设计基本网页 3 掌握 HTML 设计网络中常用的表单 4 了解 JavaScript 的简单应用, 实验环境 : 操作系统 Windows XP 或更高版本实验内容 : 1 编写一个简单的学生信息注册页面, 包括学号 姓名 密码 专业, 其中学号 姓名用单行文本框 密码使用密码框 专业使用下拉菜单 ; 2 使用框架将一个页面均分为四个区域,
More informationWebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..
WebSphere Studio Application Developer IBM Portal Toolkit... 1/21 WebSphere Studio Application Developer IBM Portal Toolkit Portlet Doug Phillips (dougep@us.ibm.com),, IBM Developer Technical Support Center
More informationIP505SM_manual_cn.doc
IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP
More informationMicrosoft PowerPoint - 10-JSP-Scripting-Elements-Chinese.ppt
2004 Marty Hall 用 JSP 脚 本 元 素 调 用 Java 代 码 JSP, Servlet, & Struts Training Courses: http://courses.coreservlets.com Available in US, China, Taiwan, HK, and Worldwide 2 JSP and Servlet Books from Sun Press:
More informationMicrosoft Word - ²Ä158´Á«ß®v³q°T
台 南 律 師 通 訊 第 158 期 發 行 人 : 吳 信 賢 出 版 者 : 台 南 律 師 通 訊 雜 誌 社 地 址 :708 台 南 市 健 康 路 三 段 三 0 八 號 ( 台 南 地 方 法 院 內 ) 電 話 :(06) 298-7373 傳 真 :(06) 298-8383 E-Mail:tnnbar@tnnbar.org.tw 網 址 :www.tnnbar.org.tw 本
More information5-1 nav css 5-2
5 HTML CSS HTML CSS Ê Ê Ê Ê 5-1 nav css 5-2 5-1 5 5-1-1 5-01 css images 01 index.html 02 5-3 style.css css 03 CH5/5-01/images 04 images index.html style.css 05
More information(Microsoft Word - 20140126 \247\332\241u\267R\241v\254G\247\332\246b \267\250\261\254\265q\266\307\271D.doc)
我 愛 故 我 在 日 期 :2014 年 1 月 26 日 經 文 : 彼 得 前 書 一 :13-25 楊 惇 皓 傳 道 引 言 上 禮 拜 講 到 v3 因 著 父 神 的 大 憐 憫, 藉 耶 穌 基 督 從 死 裡 復 活, 重 生 了 我 們 又 v 8 提 到, 因 信 祂 就 有 說 不 出 來, 滿 有 榮 光 的 大 喜 樂 並 且 得 著 信 心 的 果 效, 就 是 靈 魂
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-055Big5 Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0 Version : Demo 1 / 22 1. 11. public static void parse(string str)
More information<4D6963726F736F667420576F7264202D20BBF9D3DA416E64726F6964C6BDCCA8B5C4B5E7D7D3C5C4C2F4CFB5CDB32E646F63>
基 于 Android 平 台 的 电 子 拍 卖 系 统 摘 要 本 电 子 拍 卖 系 统 其 实 就 是 一 个 电 子 商 务 平 台, 只 要 将 该 系 统 部 署 到 互 联 网 上, 客 户 都 可 以 在 该 系 统 上 发 布 想 出 售 的 商 品, 也 可 以 对 拍 卖 中 的 商 品 参 与 竞 价 整 个 过 程 无 须 人 工 干 预, 由 系 统 自 动 完 成 本
More information设计模式 Design Patterns
丁勇 Email:18442056@QQ.com 学习目标 描述 JSP 表达式语言的语法 认识使用 JSP 表达式的优点 在 JSP 中使用表达式语言 表达式语言简介 5 1 EL 为表达式语言 由两个组开发 JSP 标准标签库专家组 JSP 2.0 专家组 JSP 表达式语言的语法 ${EL Expression} JSP EL 表达式用于以下情形 静态文本 标准标签和自定义标签 表达式语言简介
More information05 01 accordion UI containers 03 Accordion accordion UI accordion 54
jquery UI plugin Accordion 05 01 accordion UI containers 03 Accordion accordion UI accordion 54 05 jquery UI plugin 3-1
More informationGuava学习之Resources
Resources 提供提供操作 classpath 路径下所有资源的方法 除非另有说明, 否则类中所有方法的参数都不能为 null 虽然有些方法的参数是 URL 类型的, 但是这些方法实现通常不是以 HTTP 完成的 ; 同时这些资源也非 classpath 路径下的 下面两个函数都是根据资源的名称得到其绝对路径, 从函数里面可以看出,Resources 类中的 getresource 函数都是基于
More information基于ECO的UML模型驱动的数据库应用开发1.doc
ECO UML () Object RDBMS Mapping.Net Framework Java C# RAD DataSetOleDbConnection DataGrod RAD Client/Server RAD RAD DataReader["Spell"].ToString() AObj.XXX bug sql UML OR Mapping RAD Lazy load round trip
More informationMicrosoft Word - 第3章.doc
Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck
More information使用 Eclipse 开发 Java EE 应用 (Web 应用 ) 这里以开发一个简单的 Web 应用为例, 介绍使用 Eclipse 开发 Java EE 应用的一般步 骤 此处使用的 Eclipse 是 Eclipse IDE for Java EE Developers; 如果是使用的其他
使用 Eclipse 开发 Java EE 应用 (Web 应用 ) 这里以开发一个简单的 Web 应用为例, 介绍使用 Eclipse 开发 Java EE 应用的一般步 骤 此处使用的 Eclipse 是 Eclipse IDE for Java EE Developers; 如果是使用的其他 Eclipse 插件 ( 比如 MyEclipse 插件 ), 其开发方式和步骤可能略有差异和不同 在该例中,
More informationMicrosoft Word - 28935样章.dot
21 世 纪 高 职 高 专 规 划 教 材 系 列 何 福 贵 张 梅 编 著 机 械 工 业 出 版 社 IV 本 书 全 面 地 介 绍 了 网 页 制 作 技 术 及 其 相 关 理 论 全 书 共 分 12 章, 包 括 绪 论 网 站 的 创 建 与 管 理 网 页 基 本 元 素 实 现 网 页 页 面 布 局 实 现 表 单 的 应 用 CSS 与 模 板 使 用 Div 和 AP
More information9, : Java 19., [4 ]. 3 Apla2Java Apla PAR,Apla2Java Apla Java.,Apla,,, 1. 1 Apla Apla A[J ] Get elem (set A) A J A B Intersection(set A,set B) A B A B
25 9 2008 9 M ICROEL ECTRON ICS & COMPU TER Vol. 25 No. 9 September 2008 J ava 1,2, 1,2, 1,2 (1, 330022 ; 2, 330022) :,. Apla - Java,,.. : PAR ;Apla - Java ; ;CMP ; : TP311 : A : 1000-7180 (2008) 09-0018
More informationI Q = M A C A 100 6 100 120 = 11 100 = 110 5 10 1 1 2 3 4 5 2 1 2 3 4 5 3 1 2 3 4 5 4 1 2 3 4 5 5 1 2 3 4 5 6 1 2 3 4 5 7 1 2 3 4 5 8 1 2 3 4 5 9 1 2 3 4 5 10 1 2 3 4 5 11 1 2 3 4 5 12 1 2 3 4
More informationOOP with Java 通知 Project 4: 4 月 19 日晚 9 点
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 19 日晚 9 点 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double x) { d
More informationebook140-9
9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I
More information0 配置 Host MIB 设备 V ( 简体版 ) 0 Update: 2016/1/30
0 配置 Host MIB 设备 V 1.1.2 ( 简体版 ) 0 Update: 2016/1/30 前言 N-Reporter 支持 Host Resource MIB 监控主机 (Host) 状态, 本文件描述 N-Reporter 用户如何配置 Host MIB 设备 文件章节如下 : 1. 配置 Windows Server 2003... 2 1-1.Windows Server 2003
More information使用MapReduce读取XML文件
使用 MapReduce 读取 XML 文件 XML( 可扩展标记语言, 英语 :extensible Markup Language, 简称 : XML) 是一种标记语言, 也是行业标准数据交换交换格式, 它很适合在系统之间进行数据存储和交换 ( 话说 Hadoop H ive 等的配置文件就是 XML 格式的 ) 本文将介绍如何使用 MapReduce 来读取 XML 文件 但是 Had oop
More information目录
目 录 1 系 统 概 述... 1 1.1 主 要 功 能... 1 1.2 工 作 环 境 要 求... 2 1.2.1 硬 件 环 境... 2 1.2.2 操 作 系 统... 2 1.2.3 数 据 库... 2 1.2.4 浏 览 器... 2 2 安 装 卸 载... 3 2.1 安 装 步 骤... 3 2.2 使 用 加 密 狗... 5 2.3 卸 载 步 骤... 6 3 新
More informationBPS6.0 Web服务集成和短流程功能使用手册
PRIMETON TECHNOLOGIES, LTD. 上 海 普 元 信 息 技 术 有 限 责 任 公 司 BPS6.0 Web 服 务 集 成 和 短 流 程 使 用 手 册 2009-9-1 第 1 页 共 16 页 目 录 1 Web 服 务 集 成... 3 1.1 Web 服 务 简 述... 3 1.2 在 BPS 中 使 用 Web 服 务 功 能... 3 1.2.1 使 用 Web
More information