Java Server Pages 2nd Edition phần 5 ppsx

Java Server Pages 2nd Edition phần 5 ppsx

Java Server Pages 2nd Edition phần 5 ppsx

... Chapter 15. Using Scripting Elements 253 Chapter 15. Using Scripting Elements Before reading this book, you may have heard that JSP is all about including Java code in web pages. If so, ... 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 script...
Ngày tải lên : 13/08/2014, 21:21
  • 2
  • 164
  • 0
Java Server Pages 2nd Edition phần 10 ppsx

Java Server Pages 2nd Edition phần 10 ppsx

... Appendix F. Web Application Structure and Deployment Descriptor Reference 59 7 <filter-mapping> A filter is mapped to either a URI pattern or a servlet using ... </servlet-class> <init-param> <param-name>maxAmount</param-name> <param-value> ;50 0.00</param-value> </init-param> </servlet>
Ngày tải lên : 13/08/2014, 21:21
  • 2
  • 165
  • 0
Java Server Pages 2nd Edition phần 1 doc

Java Server Pages 2nd Edition phần 1 doc

... O'Reilly & Associates, Inc. 10 05 Gravenstein Highway North Sebastopol, CA 954 72 (800) 998-9938 (in the United States or Canada) (707) 829- 051 5 (international or local) (707) 829-0104 ... 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...
Ngày tải lên : 13/08/2014, 21:21
  • 2
  • 176
  • 0
Java Server Pages 2nd Edition phần 2 ppt

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
  • 2
  • 252
  • 0
Java Server Pages 2nd Edition phần 4 pps

Java Server Pages 2nd Edition phần 4 pps

... value="${param.userName}" maxAge=" 259 2000" /> <ora:addCookie name="password" value="${param.password}" maxAge=" 259 2000" /> </c:when> ... custom action (Table 12 -5) sends cookies to the browser. If the parameter is set, the cookies are sent with a maximum age value representing 30 days, expressed in seconds ( 259...
Ngày tải lên : 13/08/2014, 21:21
  • 2
  • 252
  • 0
Java Server Pages 2nd Edition phần 6 doc

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
  • 2
  • 241
  • 0
Java Server Pages 2nd Edition phần 7 pptx

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
  • 2
  • 282
  • 0
Java Server Pages 2nd Edition phần 8 pps

Java Server Pages 2nd Edition phần 8 pps

... Chapter 23. Database Access Strategies 450 finally { try { if (conn != null) { conn.close( ); } } catch (SQLException e) {
Ngày tải lên : 13/08/2014, 21:21
  • 2
  • 185
  • 0
Từ khóa: