多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题