Java Server Pages 2nd Edition phần 9 ppsx
... Appendix B. JSTL Actions and API Reference 498 Example <sql:transaction> <sql:update> UPDATE Account SET Balance = Balance
Ngày tải lên: 13/08/2014, 21:21
... requires that the classes in the java. lang, javax.servlet, javax.servlet.jsp, and the javax.servlet.http packages are available by default to scripting elements when Java is used as the scripting ... language=" ;java& quot; import=" ;java. util.*" %> The language attribute specifies the scripting language used in the page. All containers are required to support Java....
Ngày tải lên: 13/08/2014, 21:21
... Appendix F. Web Application Structure and Deployment Descriptor Reference 597 <filter-mapping> A filter is mapped to either a URI pattern or a servlet using ... </filter-mapping> <listener> All the listener types described in Chapter 19 must be registered with a <listener> element. The nested <listener-class> element
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 1 doc
... 1005 Gravenstein Highway North Sebastopol, CA 95 472 (800) 99 8 -99 38 (in the United States or Canada) (707) 8 29- 0515 (international or local) (707) 8 29- 0104 (fax) We have a web page for this book, ... for First Edition I love to write and have always wanted to write a book someday. After getting a number of articles about Java servlets and a couple of chapters for a serve...
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 2 ppt
... from a specified category to a page. Table 7-1. Attributes for <ora:motd> Attribute name Java type D y namic value accepted Description category String No Mandatory. The message ... named category, used to select the type of message you want. Let's get back to the " ;Java type" and "Dynamic value accepted" columns at the end of this chapter. Examp...
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 4 pps
... Personalization 194 <c:choose> <c:when test="${!empty param.remember}"> <ora:addCookie name="userName" value="${param.userName}" maxAge="2 592 000" ... <ora:addCookie name="password" value="${param.password}" maxAge="2 592 000" /> </c:when> <c:otherwise> <ora:addCooki...
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 6 doc
... import java. io.*; import javax.servlet.*; import javax.servlet.http.*; public class ErrorDispatcherServlet extends HttpServlet { private static final String SERVLET_EXCEPTION = "javax.servlet.error.exception"; ... private static final String JSP_EXCEPTION = "javax.servlet.jsp.jspException"; private static final String SERVLET_ERROR_SOURCE = "javax.se...
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 7 pptx
... interface method implementations: package com.ora.jsp.tags; import javax.servlet.http.*; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import com.ora.jsp.util.*; public ... maxAgeString) { this.maxAgeString = maxAgeString; } The purpose of the custom action is to create a new javax.servlet.http.Cookie object with the name, value, and maximum age values specifie...
Ngày tải lên: 13/08/2014, 21:21