• 关于jsp语法和练习

    jsp语法练习,应对期末考试啊! 选择题 1. 下面那个方法能够读取给定HttpServletRequest request对象中的所有Cookie? A. request.getCookies() B. request.getAttributes() C. request.getSession ().getCookies() D. request.getSession (). GetAttributes() 答案: A 2. JSP页面需要创建仅在本页面使用的JavaBean的示例,为了完成此功能必须使用jsp:useBean的哪两个属性进行设置?(选择两个选项) A. id B. type C. name D. class E. scope F. create 答案: A, D Scope 默认值为page, 所以不需要进行设定. 两个必须指定的属性为ID 和 CLASS.

    5
    89
    118KB
    2009-01-03
    9
关注 私信
上传资源赚积分or赚钱