网友您好, 请在下方输入框内输入要搜索的题目:
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>
参考答案