网友您好, 请在下方输入框内输入要搜索的题目:
Youhavebuiltawebapplicationwithtightsecurity.Severaldirectoriesofyourwebappareusedforinternal purposesandyouhaveoverriddenthedefaultservlettosendanHTTP403statuscodeforanyrequestthatmapstooneofthesedirectories.Duringtesting,theQualityAssurancedirectordecidedthattheydidNOTlikeseeingthebareresponsepagegeneratedbyFirefoxandInternetExplorer.Thedirectorrecommendedthatthewebappshouldreturnamoreuser-friendlywebpagethathasthesamelook-and-feelasthe webapppluslinkstothewebapp’ssearchengine.YouhavecreatedthisJSPpageinthe/WEB-INF/jsps/error403.jspfile.YoudoNOTwanttoalterthecomplexlogicofthedefaultservlet.
HowcanyoudeclarethatthewebcontainermustsendthisJSPpagewhenevera403statusisgenerated?()
参考答案