摘要: EL表达式语言... 39 EL概述... 39 EL基本应用... 40 JSP标签的属性值中使用EL表达式... 40 JSP模板中使用EL表达式... 40 忽略JSP页面中的EL表达式... 40 忽略JSP页面中的脚本元素... 41 隐含对象... 41 pageContext隐含对象. 阅读全文
posted @ 2015-02-12 23:54 江正军 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Servlet事件监听器... 19 监听域对象的创建和销毁... 19 ServletContextListener接口... 19 HttpSessionListener接口... 19 ServletRequestListener接口... 20 监听域对象的属性变化... 20 attrib 阅读全文
posted @ 2015-02-12 23:48 江正军 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 文件上传... 6 DiskFileUpload. 6 setSizeMax(long sizeMax)6 setSizeThreshold(int sizeThreshold)6 setRepositoryPath(String repositoryPath)6 parseRequest6 isM 阅读全文
posted @ 2015-02-12 23:43 江正军 阅读(547) 评论(0) 推荐(0) 编辑
摘要: JSP. 80 JSP源码生成... 81 将JSP页面配置成Servlet84 JSP基础语法... 84 JSP模板元素... 84 JSP表达式... 84 JSP脚本... 84 JSP声明... 85 EL表达式... 85 JSP注释... 85 JSP指令... 85 page指令.. 阅读全文
posted @ 2015-02-12 22:57 江正军 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 会话与状态管理... 58 cookie. 58 组成... 58 Set-Cookie2响应头... 59 Cookie请求头... 60 在Servlet中使用Cookie. 61 Cookie类... 61 构造方法... 61 getName. 61 setValue、getValue. 6 阅读全文
posted @ 2015-02-12 22:50 江正军 阅读(411) 评论(0) 推荐(0) 编辑
摘要: HttpServletRequest41 获取请求行的相关信息... 41 getMethod. 42 getRequestURI42 getQueryString. 42 getProtocol42 getContextPath. 42 getPathInfo. 42 getPathTransla 阅读全文
posted @ 2015-02-12 22:41 江正军 阅读(720) 评论(0) 推荐(1) 编辑
摘要: HttpServletResponse. 20 产生响应状态行... 20 HTTP状态常量... 20 setStatus(int sc)20 sendError21 构建响应消息头... 21 addHeader与setHeader21 addIntHeader与setIntHeader21 a 阅读全文
posted @ 2015-02-12 22:25 江正军 阅读(918) 评论(0) 推荐(0) 编辑
摘要: 使用Servlet激活器... 5 缺省Servlet6 Tomcat中的类装载器... 6 Servlet8 Servlet路径映射... 8 ServletConfig接口... 9 获取ServletContext对象(getServletContext)... 9 获取Servlet的注册名 阅读全文
posted @ 2015-02-12 22:06 江正军 阅读(926) 评论(0) 推荐(0) 编辑