black

SCWCD(310-083)

登录

单项选择题

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.

相关考题

单项选择题 Whichelementofawebapplicationdeploymentdescriptorelementisrequired?()

单项选择题 Given a Filter class definition with this method: 21.public void doFilter(ServletRequest request, 22.ServletResponse response, 23.FilterChain chain) 24.throws ServletException, IOException { 25.// insert code here 26.} Which should you insert at line 25 to properly invoke the next filter in the chain, or the target servlet if thereare no more filters?()

单项选择题 You need to create a JSP that generates some JavaScript code to populate an array of strings used on the client-side. Which JSP code snippet will create this array?()

All Rights Reserved 版权所有©计算机考试题库(jsjtiku.com)

备案号:湘ICP备14005140号-4

经营许可证号:湘B2-20140064