试题详情
- 单项选择题 Your IT department is building a lightweight Front Controller servlet that invokes an application logic objectwith the interface: public interface ApplicationController {public String invoke(HttpServletRequest request)} The return value of this method indicates a symbolic name of the next view. From this name, the FrontController servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or apath relative to the current request. Next, the Front Controller servlet must send the request to this JSP togenerate the view. Assume that the servlet variable request is assigned the current HttpServletRequestobject and the variable context is assigned the webapp’s ServletContext. Which code snippet of the FrontController servlet accomplishes this goal?()
A、
B、
C、
D、
- D
关注下方微信公众号,在线模考后查看
热门试题
- 百钱百鸡问题 用100钱买1
- 现有: class&ens
- 下面有关java 抽象类和接口的区别,说
- switch (i)&ens
- Integer i&ensp
- Given: 3.class&ensp
- 现有 1.&e
- 下述说法中抽象类与接口的区别正确的有哪些
- class Rectangl
- Swing界面一般都会有一个顶级Swin
- 举例说明类和类之间的关系。
- public class&e
- 已知: 则下面哪段代码是合法的()
- Which defines&e
- Given that&ensp
- Which two̳
- 求三位奇数中,个位数字与十位数字之和除以
- Which statemen
- public class&e
- 表达式newStringTokenize