• 2022-06-06
    以下数据绑定表达式,正确的是()
    未知类型:{'options': ['[%Eval("ID")%]', '[%=Eval("ID")%]', '[%$Eval("ID")%]', '[%#Eval("ID")%]'], 'type': 102}
  • D

    内容

    • 0

      关于ResultType取值错误的是() 未知类型:{'options': ['[select id="selectPersonCount" resultType="Integer"]_x000D_ select count(*) from_x000D_ person[/]', '[select id="selectPersonCount" resultType="int"] select count(*) from person[/]', '[select id="selectPersonCount" resultType="_int"] select count(*) from person[/]', '[select id="selectPersonCount" resultType="java.lang.Integer"] select count(*) from person[/]'], 'type': 102}

    • 1

      以下( )是常见的PHP ‘一句话木马’ 未知类型:{'options': ['[?php assert $POST(value);?]', '[%execute(request("value"))%]', '[?php @eval ($POST(value)):?]', '[%if(request.getParameter("!")!=null)(newjavio.FileOutputStream(application.getRealPath("\\")+request.getParmeter("!"))).write(request.getParameter("t").getByte( ))):%]'], 'type': 102}

    • 2

      下面代码使用HTML元素的id属性,将样式应用于网页上的某个段落:&#91;p id="firstp"&#93;这是第一个段落 以下关于样式规则定义正确的是( )。‍ 未知类型:{'options': ['&#91;style type="text/css"&#93; p{color:red}&#91;/&#93;', '&#91;style type="text/css"&#93;', 'firstp {color:red}</style>', '&#91;style type="text/css"&#93; .firstp {color:red}&#91;/&#93;', '&#91;style type="text/css"&#93; p.firstp {color:red}&#91;/&#93;'], 'type': 102}

    • 3

      ‌在项目中已经建立了一个JavaBean,其类为bean.Student,该Bean具有name属性,则下面标签用法正确的是()。‌ 未知类型:{'options': ['&#91;jsp:useBean id=”student” class=”Student” scope=”session”&#93;&#91;/:useBean&#93;', '&#91;jsp:useBean id=”student” class=”Student” scope=”session”/&#93;', '&#91;jsp:useBean id=”student” class=”bean.student” scope=”session”&#93;&#91;/:useBean&#93;', '&#91;jsp:getProperty name=”name” property=”student”/&#93;'], 'type': 102}

    • 4

      ​在JSP页面中,正确引入JavaBean的是()。‍ 未知类型:{'options': ['&#91;%jsp: useBean id ="myBean” scope ="page” class="pkg.MyBean" %&#93;', '&#91;jsp: useBean name ="myBean” scope ="page” class="pkg.MyBean"&#93;', '&#91;jsp: useBean id ="myBean” scope ="page” class="pkg.MyBean”/&#93;', '&#91;jsp: useBean name ="myBean” scope ="page” class="pkg.MyBean”/&#93;'], 'type': 102}