试题详情
- 单项选择题 You have built a web application with tight security. Several directories of your webapp are used for internal purposes and you have overridden the default servlet to send an HTTP 403 status code for any request thatmaps to one of these directories. During testing, the Quality Assurance director decided that they did NOTlike seeing the bare response page generated by Firefox and Internet Explorer. The director recommendedthat the webapp should return a more user-friendly web page that has the same look-and-feel as the webapp plus links to the webapp’s search engine. You have created this JSP page in the /WEB-INF/jsps/error403.jsp file. You do NOT want to alter the complex logic of the default servlet. How can you declarethat the web container must send this JSP page whenever a 403 status is generated?()
A、
B、
C、
D、
- C
关注下方微信公众号,在线模考后查看
热门试题
- class Test2{&e
- 下列哪些方法是Thread
- 1. public&ensp
- Which three
- 猴子吃桃问题:猴子第一天摘下若干个桃子,
- public static&
- Which are̳
- public class&e
- 已知: 的输出为()
- 已知: 在横线处添加哪条语句运行时会产
- 关于以下application,说法正确
- public class&e
- Java语言中表达式10/3的结果是哪项
- 现有: 1. a
- Which willQ
- Java的字符采用何种编码方案?有何特点
- Given the command l
- 以下关于linux操作系统中硬链接和软链
- class java&ens
- 如何定义方法?在面向对象程序设计中方法有