zoukankan      html  css  js  c++  java
  • jsp 内置对象(9)+ js 内置对象 + EL 内置对象(11)

    一、jsp 内置对象(9个)

          每一个 jsp 最终中web容器的转换下,转换成唯一对应的servlet ,而9个内置对象最终都会转换到 xxx_jspService()方法中,成为该方法的形参或局部变量:

                           

     1  xxx_jspService(HttpServletRequest request,  HttpServletResponse response)  throws java.io.IOException, ServletException {
     2 
     3             ...............
     4 
     5                            PageContxt  pageContext;
     6 
     7            ServletContext   application = pageContext.getServletContext();
     8 
     9                    ServletConfig   config = pageContext.getServletConfig();
    10 
    11                     HttpSession   session = pageContext.getSession();
    12 
    13                             JspWriter   out = pageContext.getOut();
    14 
    15                             Objtct    page;
    16 
    17              ..............
    18 
    19                         }

    二、js 的内置对象:

           1.、全局对象 :window

           2、Object

           3、Function

           4、Number

           5、String

           6、Boolean

           7、Array

           8、Date

           9、Math

           .....

    三、EL 内置对象(11个)

            分成5类:

             1、jsp 对象:pageContext

             2、域对象:pageScope、requestScope、sessionScope、applicationScope

             3、参数类:param、paramValues

             4、初始化类:initParam

             5、头部类:header、headerValues、cookie 

  • 相关阅读:
    LOJ-10096(强连通+bfs)
    LOJ-10095(缩点的特殊使用)
    LOJ-10094(强连通分量)
    LOJ-10092(最大半连通子图)
    【BZOJ3489】A simple rmq problem(KD-Tree)
    UVA10384 推门游戏 The Wall Pushers(IDA*)
    [SCOI2005]骑士精神(IDA*)
    浅谈A*算法
    【模板】K-D Tree
    【XSY1953】【BZOJ4012】【HNOI2015】开店(动态点分治)
  • 原文地址:https://www.cnblogs.com/conserdao/p/7875740.html
Copyright © 2011-2022 走看看