可学答题网 > 问答 > SCWCD(310-083)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Your IT department is&


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?()

  • ADispatcher view=context.getDispatcher(viewURL);view.forward Request(request, response);
  • BDispatcher view=request.getDispatcher(viewURL);view.forward Request(request, response);
  • CRequestDispatcher view. =context.getRequestDispatcher(viewURL);view.forward(request,response);
  • DRequestDispatcher view=request.getRequestDispatcher(viewURL);view.forward(request, response);
参考答案
参考解析:
分类:SCWCD(310-083)题库
相关推荐

1、若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值

若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值为()A0B-1C1D2

2、AMPS通信系统属于第()代移动通信。

AMPS通信系统属于第()代移动通信。A第一代B第二代C第三代D第四代

3、AMPS属于()。

AMPS属于()。A1GB2GC3GD4G

4、cAMP(cyclic AMP)

cAMP(cyclic AMP)

5、表达式10>5&&6%3的值是()

表达式10>5&&6%3的值是()A-1B非零值C0D1

6、AMPS

AMPS