SpringFramework_3002

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

Back to Item Set

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

What HTTP request will be handled by the following controller method:
{code}
@RequestMapping("/custom/{symbolicName:[A-Z]+}-{version:[
d]+}.{extension:[a-z]+}")
public void getOrder(@PathVariable String symbolicName, @PathVariable String version,
@PathVariable String extension) {
   implementation
}
{code}

</div>

Select 1 correct answer(s)!

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

\<DispatcherServlet path\>/custom/symbolicName=IMG-version=28192.extension=png

</li>
<li>

\<DispatcherServlet path\>/custom/{IMG}-{28192}.{png}

</li>
<li>

\<DispatcherServlet path\>/custom/IMG-28192.png

</li>
<li>

None, this is incorrectly defined mapping

</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-08 18:20
    
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4 - Documentation