zoukankan      html  css  js  c++  java
  • jsp el 表达式和 jsp:include page include

    The following are reserved words in the JSP EL:
    and 
    eq
    gt
    true
    instanceof
    or
    ne
    lt
    false
    empty
    not
    if
    ge
    null
    div
    mod
    
    Expression-Language Implicit Objects
    applicationScope
    cookie
    header
    headerValues
    initParam
    pageContext
    pageScope
    param
    paramValues
    requestScope
    sessionScope
    
    Custom Tag:
    BodyTag interface
    
    -------
    JDBBC: Java Database Connectivity
    using the java.sql.DriverManager
    The java.sql.DriverManager is a standard part of JDE
    
    ------------
    Most of the O/R frameworks support these four approaches, so let's take a look at each one.
    
    
    
    
    
    
    
    
    
    
    /////////////////////////////////////////////////////////////////////////////////////////////
    9 implicit objects in JSP:
    
    request
    response
    out
    sessin
    application
    
    config
    page   :   implicit page object references an instance of the JSP's page impementation.
    pageContxt  :  a pageContext instane provides the JSP developer with access to all the 
    	available JSP scopes and to serveral useful page attributes, such as the current
    	request and response, the ServletContext, HttpSession,ServletConfig to name but a few.
    exception  
    
    
    Directives:
    <%@ page import="java.util.Date, java.text.*" pageEncoding="utf-8" %>
    
    <%@ include file="./foot.jsp" %>
    
    
    In JSP 2.1,there are there types of action elements:
    1.Standard actions
    2.Customer actions
    3.JSTL actions
    
    Standard Actions:
    e.g.: Action
    the  action will include any output generated by the included resource directly
    to the JspWriter assigned to the implicit out variable. This means that you cann specify any 
    different type of web resouce, such as another Jsp or servlet, as long as it produces content of 
    the same type of web resource,such as another JSP page or servlet, as long as it produces content 
    of the same type as the calling JSP page.
    
    
    
    
    
    
    
    
    
    
    
    
  • 相关阅读:
    Windows Service开发介绍
    解决Vuex持久化插件-在F5刷新页面后数据不见的问题
    selenium+python 安装使用
    字符串拆分姓名、电话、省市区逻辑
    常用正则表达式大全——包括校验数字、字符、特殊密码过滤
    uni-app 地图初用 map
    前端常见手写笔试题
    数组去重和排序
    js获取当前时间年份,处理年月日
    js循环匹配组合成新对象或js循环组合新数据
  • 原文地址:https://www.cnblogs.com/wucg/p/2101881.html
Copyright © 2011-2022 走看看