43___
A. message
B. motto
C. saying
D. suggestion
1.[A] case [B] example [C] lesson [D] suggestion
2.Youarecreatinganerrorpagethatprovidesauser-friendlyscreenwheneveraserverexceptionoccurs.Youwanttohidethestacktrace,butyoudowanttoprovidetheexception’serrormessagetotheusersotheusercanprovideittothecustomerserviceagentatyourcompany.WhichELcodesnippetinsertsthiserrormessageintotheerrorpage?()A.Message:<b>${exception.message}</b>B.Message:<b>${exception.errorMessage}</b>C.Message:<b>${request.exception.message}</b>D.Message:<b>${pageContext.exception.message}</b>E.Message:<b>${request.exception.errorMessage}</b>
3.从以下备选答案内为程序中(3)~(7)处空缺选择正确答案。(3)A.request B.response C.application D.session(4)A.rs.eof B.rs.bof C.notrs.eof D.notrs.bof(5)A.i+1 B.rs.recordnumber C.rs.recordcount D.i(6)A.<table name="message" cols="40" rows="5" id="message"></table> B.<textarea name="message" cols="40" rows="5" id="message"></textarea> C.<input name="message" cols="40"rows="5" id="message"></input> D.<IMG nClick=over(this)title=放大name="message"cols="40"rows="5"id="message"></IMG nClick=over(this)title=放大>(7)A.submit B.text C.post D.radio
4.Youhavebeencontractedtocreateawebsiteforafreedatingservice.Onefeatureistheabilityforoneclienttosendamessagetoanotherclient,whichisdisplayedinthelatterclient’sprivatepage.Your contractexplicitlystatesthatsecurityisahighpriority.Therefore,youneedtopreventcross-sitehackinginwhichoneuserinsertsJavaScriptcodethatisthenrenderedandinvokedwhenanotheruserviewsthatcontent.WhichtwoJSTLcodesnippetswillpreventcrosssitehackinginthescenarioabove?()A.<c:out>${message}</c:out>B.<c:outvalue=’${message}’/>C.<c:outvalue=’${message}’escapeXml=’true’/>D.<c:outeliminateXml=’true’>${message}</c:out>E.<c:outvalue=’${message}’eliminateXml=’true’/>
第1题:
A.message1and2
B.message3and4
C.message5and6
D.message7and8
第2题:
第3题:
第4题:
第5题: