A to ;
B for ;
C at
第1题:
InaJSP-centricshoppingcartapplication,youneedtomoveaclient’shomeaddressoftheCustomerobjectintotheshippingaddressoftheOrderobject.TheaddressdataisstoredinavalueobjectclasscalledAddresswithpropertiesfor:streetaddress,city,province,country,andpostalcode.WhichtwoJSPcodesnippetscanbeusedtoaccomplishthisgoal?()
A.<c:setvar=’order’property=’shipAddress’value=’${client.homeAddress}’/>
B.<c:settarget=’${order}’property=’shipAddress’value=’${client.homeAddress}’/>
C.<jsp:setPropertyname=’${order}’property=’shipAddress’value=’${client.homeAddress}’/>
D.<c:setvar=’order’property=’shipAddress’><jsp:getPropertyname=’client’property=’homeAddress’/></c:store>
E.<c:settarget=’${order}’property=’shipAddress’><jsp:getPropertyname=’client’property=’homeAddress’/></c:set>
第2题:
第3题:
下面CSS语法结构正确的选项有()。
A.selector{property:value}
B.selector{property:value;property:value}
C.selector,selector{property:value}
D.selector,selector{property:value;property:value}
第4题:
It does not alter the fact that he was the man _____ for the death of the little girl.
(A) accounting (B) guilty (C) responsible (D) obliged
选C
the man是补足语,做题时刻将其忽略,那么这句话变为...he was ___ for the death of the little girl.
A. account有认为的意思。意思似乎符合。但在这里加了ing,与was组成过去进行时态,同时在这里就成了主动用法,是错误的。
B. guilty, 有罪的、有负疚感的。意思也正确,但正确用法是guilty of, 句子中后面的介词为for, 所以b不符合
C. responsible, 有责任的。意思正确,同时responsible for也是这个词的正确用法
D. obliged, 有强迫和帮助的意思,不符合语境。因为be obliged for为对。。。有义务(而非责任),即有义务做某事
第5题:
1、在 Struts 应用中,要在网页上输出 personbean 对象的 userName 属性值,下列代码()是正确的。
A.< bean:print name="personbean" property="userName"/>
B.< bean:write name="personbean" property="userName"/>
C.< html:message name="personbean" property="userName"/>
D.< html:write name="personbean" 5 property="userName"/>
第6题:
下面哪项是错误的设置Bean属性值的方法()
A.<jsp:setPropertyname="beanInstanceName" property= "*" />
B.<jsp:setPropertyname="beanInstanceName" property="propertyName"value="123"/>
C.<jsp:setPropertyname="beanInstanceName" property="propertyName"param="parameterName" />
D.<jsp:setPropertyname="beanInstanceName" property="*" value="{string |<%= expression %>}"/>