SpringFramework_3015

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

Back to Item Set

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

What HTTP request will be handled by the controller method <tt>displayOwner(...)</tt>:
{code}
@Controller
@RequestMapping("/orders/{orderId}")
public class OrderController {

  @RequestMapping("/owner/{ownerId}")
  public String displayOwner(@PathVariable String ownerId, Model model) {
    implementation
  }
}
{code}

</div>

Select 1 correct answer(s)!

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

\<DispatcherServlet path\>/orders/1725/owner/39

</li>
<li>

\<DispatcherServlet path\>/orders/orderId=1725/owner/ownerId=39

</li>
<li>

\<DispatcherServlet path\>/owner/39

</li>
<li>

\<DispatcherServlet path\>/owner/ownerId=39

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