我也没见过,我帮外行人配置tomcat的时候,tomcat里面有,他跟我说他经常见到这玩意,问我是什么意思,我以前都没见过,丢人啊

解决方案 »

  1.   

    配置好tomcat,在ie地址栏中输入
    http://localhost:8080/jsp-examples/jsp2/el/implicit-objects.jsp?foo=bar
    你就可以看到这玩意~~~
      

  2.   

    是你慌了,其实那一页的开头就有了很好的说明了:(<input type="text" name="foo" value="${param["foo"]}">
    )
    This example illustrates some of the implicit objects available in the Expression Lanaguage. The following implicit objects are available (not all illustrated here): 
    pageContext - the PageContext object 
    pageScope - a Map that maps page-scoped attribute names to their values 
    requestScope - a Map that maps request-scoped attribute names to their values 
    sessionScope - a Map that maps session-scoped attribute names to their values 
    applicationScope - a Map that maps application-scoped attribute names to their values 
    param - a Map that maps parameter names to a single String parameter value 
    paramValues - a Map that maps parameter names to a String[] of all values for that parameter 
    header - a Map that maps header names to a single String header value 
    headerValues - a Map that maps header names to a String[] of all values for that header 
    initParam - a Map that maps context initialization parameter names to their String parameter value 
    cookie - a Map that maps cookie names to a single Cookie object. 
      

  3.   

    是传值吧,可以通过request取得所传的值
      

  4.   

    反正是外行,蒙它!说得越玄越好!!
    他们就是欠蒙!尤其是蒙不懂技术的部门经理,真TMD的爽!
      

  5.   

    是你慌了,其实那一页的开头就有了很好的说明了:(<input type="text" name="foo" value="${param["foo"]}">
    )
    This example illustrates some of the implicit objects available in the Expression Lanaguage. The following implicit objects are available (not all illustrated here): 
    pageContext - the PageContext object 
    pageScope - a Map that maps page-scoped attribute names to their values 
    requestScope - a Map that maps request-scoped attribute names to their values 
    sessionScope - a Map that maps session-scoped attribute names to their values 
    applicationScope - a Map that maps application-scoped attribute names to their values 
    param - a Map that maps parameter names to a single String parameter value 
    paramValues - a Map that maps parameter names to a String[] of all values for that parameter 
    header - a Map that maps header names to a single String header value 
    headerValues - a Map that maps header names to a String[] of all values for that header 
    initParam - a Map that maps context initialization parameter names to their String parameter value 
    cookie - a Map that maps cookie names to a single Cookie object.
      

  6.   

    javafaq2004(农村干部瞎忙活),你说的那些我也看了,但还是没弄明白它确切的含义,如果你知道的话,给大家说个明白,谢啦
      

  7.   

    你慌了,其实那一页的开头就有了很好的说明了:(<input type="text" name="foo" value="${param["foo"]}">
    )
    This example illustrates some of the implicit objects available in the Expression Lanaguage. The following implicit objects are available (not all illustrated here): 
    pageContext - the PageContext object 
    pageScope - a Map that maps page-scoped attribute names to their values 
    requestScope - a Map that maps request-scoped attribute names to their values 
    sessionScope - a Map that maps session-scoped attribute names to their values 
    applicationScope - a Map that maps application-scoped attribute names to their values 
    param - a Map that maps parameter names to a single String parameter value 
    paramValues - a Map that maps parameter names to a String[] of all values for that parameter 
    header - a Map that maps header names to a single String header value 
    headerValues - a Map that maps header names to a String[] of all values for that header 
    initParam - a Map that maps context initialization parameter names to their String parameter value 
    cookie - a Map that maps cookie names to a single Cookie object.
      

  8.   

    那人真没有水平,问这种东西。fuck!!!我最恨这种不懂装懂的人了。
      

  9.   

    foo 常用来表示一个示例变量是这样的吗?
      

  10.   

    foo bar一般被外国人用来表示示例变量。
    就像我们用a、b或x、y一样,并没有什么特殊意义,只是习惯而已。靠,这也叫问题,真他妈晕!
      

  11.   

    这个???
    你们好好去看看JSP2.0的规范吧!
    param是JSP2.0中EL表达式中的内置对象,还有requestScope,sessionScope等内置对象,
    param.foo相当于:request.getParameter("foo");
      

  12.   

    是foo的值。一般用在object中。如果用在其他,请给出代码我也不懂,这是问来的答案
      

  13.   

    http://localhost:8080/jsp-examples/jsp2/el/implicit-objects.jsp?foo=bar算是学习了
      

  14.   

    param是JSP2.0中EL表达式中的内置对象,还有requestScope,sessionScope等内置对象,
    param.foo相当于:request.getParameter("foo");