欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
JSP XML CheatSheet

JSP 2.0 XML Cheat Sheet

Copyright (c) 2005 NDP Software. Some Rights Reserved.

General

  • Use <jsp:directive.directiveName... (instead of <%@)
  • Use <jsp:declaration> int i=0; </jsp:declaration> (instead of <%!)
  • Use <jsp:expression> int i=0; </jsp:expression> (instead of <%=)
  • Use <jsp:scriptlet> if (... </jsp:scriptlet> (instead of <% )

SCOPE="page|request|session|application"

JSTL

<c:url value="" var="var" scope="SCOPE" ... <c:param

<c:if test="" <c:choose <c:when test="" <c:otherwise <c:forEach var="" varStatus="" items="" begin="startIndex" end="" step=""

<c:forTokens var="" varStatus="" items="" delims="" begin="startIndex" end="" step=""

<c:catch var=""

<c:set value="or element body" var="" scope="SCOPE" target="" property="" <c:remove var="" scope=""

<c:import url="" var="" scope="SCOPE" charEncoding="" ... <c:param name="" value="" <c:redirect ... <c:param name="" value=""

<fmt:requestEncoding value="encoding name"

<fmt:message ... <fmt:param ... TBD <fmt:bundle basename="" prefix="" <fmt:setBundle basename="" var="" scope="SCOPE" value="" <fmt:formatNumber ... TBD

<fmt:formatDate var="" scope="SCOPE" value="" pattern="see java.text.SimpleDateFormat" type="date|time|both" dateStyle="default|short|medium|long|full" timeStyle="default|short|medium|long|full" timeZone=""

<fmt:timeZone value="" <fmt:setTimeZone value="" var="" scope="SCOPE" value=""

<fmt:setLocale value="" var="" scope="SCOPE" value=""

<fmt:parseDate

<fmt:parseNumber

Tag or JSP Files

<jsp.directive.include file="a page relative or context relative URI path for the file to include"

<jsp.directive.taglib prefix="" uri tagdir="/WEB-INF/tags/tags"

<jsp:include page="page- or context-relative URI" flush="false" <jsp:param name="" value=""

<jsp:element name="" <jsp:attribute name="" trim="true" (alternative to regular attributes; body is value) <jsp:body (required when <jsp:attribute is used

<jsp:output omit-xml-declaration="true|yes|false|no" doctype-root-element="" doctype-public="publicID" doctype-system="systemID"

<jsp:getProperty name="bean variable name" property=""

<jsp:setProperty name="bean variable name" property="*|names" param="name of request parameter" value=""

<jsp:useBean id="" class="" beanName="" type="" scope="SCOPE"

<jsp:text preserves whitespace

<jsp:plugin ... <jsp:fallback <jsp:params <jsp:param name="" value=""

Tag Files Only

<jsp.directive.tag description="" example="" body-content="empty|scriptless|tagdependent" dynamic-attributes="the name of the variable to hold dynamic attributes" import="" pageEncoding="ISO-8859-1"

<jsp:directive.attribute name="" description="" required="true|false" fragment="true|false" rtexprvalue="true|false" type="String classes and interfaces (no primitive types)"

<jsp.directive.variable alias="name of the local page scope variable the tag file uses to hold the value" name-from-attribute="page-scope variable name receiving value" declare="true (false to prevent export of variable)" description="" name-given="name of the invoking page‘s variable used to export the value" scope="NESTED|AT_BEGIN|AT_END" variable-class="class or interface"

<jsp:doBody var="" varReader="" scope="SCOPE"

<jsp:invoke fragment="attribute that defines the fragment" scope="SCOPE" var="" varReader=""

Page Only

<jsp.directive.page autoflush="true" buffer="8kb" contentType="mimeType and encoding UTF-8" errorPage="page or context relative path" extends="class name" import="package list" isErrorPage="false" isThreadSafe="true" pageEncoding="encoding of JSP page file and default contentType encoding" session="true"

<jsp:forward page="page or context relative path". <jsp:param name="" value=""

Scriptlets

javax.servlet.jsp.PageContextpageContext
PagefindAttribute, getAttribute, getAttributesScope, getAttributeNamesInScope, setAttribute
javax.servlet.jsp.JspWriterout
Pageclear, clearBuffer, flush, getBufferSize, getRemaining
javax.servlet.ServletConfigconfig
PagegetInitParameter, getInitParameterNames
java.lang.Throwableexception
PagegetMessage, getLocalizedMessage, printStackTrace, toString
java.lang.Objectpage
Page 
javax.servlet.ServletResponseresponse
Page 
javax.servlet.ServletRequestrequest
Request getAttribute, getParameter, getParameterNames, getParameterValues, setAttribute
javax.servlet.http.HttpSessionsession
SessiongetAttribute, getId, setAttribute
javax.servlet.ServletContextapplication
ApplicationgetAttribute, getMimeType, getRealPath, setAttribute

EL

operations
and | && | or | || | ‘+‘ | ‘-‘ | * | / | div | % | mod | gt | lt | ge | le | ==| eq | ne {‘-‘| ! | not | empty}
pageContext
The context for the JSP page. Provides access to various objects, including servletContext, session, request, and response.
pageScope
Maps page-scoped variable names to their values.
requestScope
Maps request-scoped variable names to their values.
sessionScope
Maps session-scoped variable names to their values.
applicationScope
Maps application-scoped variable names to their values.
param
Maps a request parameter to a single String parameter value (obtained by calling ServletReqwuest.getParameter(String name)).
paramValues
Maps a request parameter name to an array of String values for that parameter name (obtained by calling ServletRequest.getParameterValues(String name)).
header
Maps a request header name to a single String header value (obtained by calling ServletRequest.getHeader(String name)).
headerValues
Maps a request header name to an array of String values for that header (obtained by calling ServletRequest.getHeaders(String)).
coookie
Maps a cookie name to a single Cookie object. Cookies are retrieved according to the semantics of HttpServletRequest.getCookies(). If same name is shared by multiple cookies, an implementation must use the first encountered in the array of Cookie objects returned by the getCookies() method. However, the ordering of cookies currently unsspecified in the Servlet specification.
initParam
Maps a context initialization parameter name to a String parameter value (obtained by calling ServletContext.getInitparameter(String name)).
  • boolean fn:contains(string, substring)
  • boolean fn:containsIgnoreCase(string, substring)
  • boolean fn:startsWith(string, prefix)
  • boolean fn:endsWith(string, suffix)
  • String[] fn:split(string, separator)
  • String fn:substring(string, begin, end)
  • String fn:substringBefore(string, substring)
  • String fn:substringAfter(string, substring)
  • String fn:replace(string, before, after)
  • String fn:toLowerCase(string)
  • String fn:toUpperCase(string)
  • String fn:trim(string)
  • int fn:indexOf(string, suffix)
  • int fn:length(String or Collection)
  • String fn:join(String[], separator)
  • String fn:escapeXml(string)
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
JSTL標簽_詳解
JSTL標簽 參考手冊
利用資源文件實(shí)現java web國際化
JSTL基礎功能
JSTL標簽的學(xué)習與應用記錄
Struts Message Resources
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久