SpringFramework_3021

Last modified by superadmin on 2018-01-12 20:20

Back to Item Set

<p/>
<!-- START TestItem -->
<p/>
<div class="TestItem">
<div class="TestItemQuestion">3021 Question:\

Which implementation of <tt>HandlerMapping</tt> can be used to map in a generic way requests like "\<DispatcherServlet path\>/xxxxx*" to controller classes that have no <tt>@RequestMapping</tt> annotation, like the following one ('xxxxx' and 'Xxxxx' can be any string):
{code}
public class XxxxxController implements Controller {
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
        implementation
    }
}
{code}
?

</div>

Select 1 correct answer(s)!

<p/>
<ol class="MTestItemChoices" type='A'>
<li>

<tt>ControllerBeanNameHandlerMapping</tt>

</li>
<li>

<tt>ControllerClassNameHandlerMapping</tt>

</li>
<li>

<tt>SimpleUrlHandlerMapping</tt>

</li>
<li>

Such functionality is not supported in Spring MVC

</li>
</ol>
<p/>
<div class="TestItemSkill"><!--$skillid>Skill: $skilltitle</div>
<p/>
</div>
<!-- END MTestItem -->
<p/>
<p/>


{{/velocity}}

Tags:
Created by Alina Vasiljeva on 2013-01-19 21:57
    
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4 - Documentation