Java Server Pages 2nd Edition phần 4 pps
... Chapter 12. Authentication and Personalization 1 94 <c:choose> <c:when test="${!empty param.remember}"> <ora:addCookie ... maximum age of 0. This means that the cookies expire immediately and will never be sent to this server again. If you want to send a cookie to a browser that should be valid only until the user ... number (for instance, -1). Table 12-5....
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
... Chapter 23. Database Access Strategies 45 0 finally { try { if (conn != null) { conn.close( ); } } catch (SQLException e)
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 9 ppsx
... Appendix B. JSTL Actions and API Reference 49 8 Example <sql:transaction> <sql:update> UPDATE Account SET Balance = Balance
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 1 doc
... 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 server- side Java book ... or any additional information. You can access this page at: http://www.oreilly.com/catalog/jserverpages2/ To comment or ask technical questions about this book, send email to: bookquestio...
Ngày tải lên: 13/08/2014, 21:21
Java Server Pages 2nd Edition phần 2 ppt
... there's rarely a reason to use them because the auto-discovery feature makes life so much easier. 7 .4 Using Actions from a Tag Library The custom action described in Table 7-1 does exactly the same ... 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....
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
... Libraries 3 64 com.ora.jsp.tags.AddCookieTag and extends the TagSupport class to inherit most of the Tag interface method implementations: package com.ora.jsp.tags; import javax.servlet.http.*; ... 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 class AddC...
Ngày tải lên: 13/08/2014, 21:21