题目内容
Youhavebuiltawebapplicationwithtightsecurity.Severaldirectoriesofyourwebappareusedforinternal purposesandyouhaveoverriddenthedefaultservlettosendanHTTP403statuscodeforanyrequestthatmapstooneofthesedirectories.Duringtesting,theQualityAssurancedirectordecidedthattheydidNOTlikeseeingthebareresponsepagegeneratedbyFirefoxandInternetExplorer.Thedirectorrecommendedthatthewebappshouldreturnamoreuser-friendlywebpagethathasthesamelook-and-feelasthe webapppluslinkstothewebapp’ssearchengine.YouhavecreatedthisJSPpageinthe/WEB-INF/jsps/error403.jspfile.YoudoNOTwanttoalterthecomplexlogicofthedefaultservlet.
HowcanyoudeclarethatthewebcontainermustsendthisJSPpagewhenevera403statusisgenerated?()
查看答案
搜索结果不匹配?点我反馈