YourITdepartmentisbuildingalightweightFrontControllerservletthatinvokesanapplicationlogicobjectwiththeinterface:
publicinterfaceApplicationController{publicStringinvoke(HttpServletRequestrequest)}
Thereturnvalueofthismethodindicatesasymbolicnameofthenextview.Fromthisname,theFrontControllerservletlooksuptheJSPURLinaconfigurationtable.ThisURLmightbeanabsolutepathorapathrelativetothecurrentrequest.Next,theFrontControllerservletmustsendtherequesttothisJSPtogeneratetheview.AssumethattheservletvariablerequestisassignedthecurrentHttpServletRequestobjectandthevariablecontextisassignedthewebapp’sServletContext.
WhichcodesnippetoftheFrontControllerservletaccomplishesthisgoal?()