• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Resource not available error message is displaying

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Im doing a code practise on Spring MVC 4 framework,

In the JSP page, created a hyperlink, once we click the hyperlink, the corresponding ID will be added to the request URL, and it gets processed and all the details belongs to that particular ID will be displayed in a new JSP page(Details Page)

in the LIST page - hyperlink
==================
${abc.id}

Corresponding method top handle the request in the controller class
==========================================

@RequestMapping(value ="/details/{id}")
public String details (@Pathvariable("id") String id, ModelMap mp)
{
S.O.P("#####");
}

How ever this method is not getting mapped, when we click the link under , Resouce not available error message is displaying in the browser.
 
Evacuate the building! Here, take this tiny ad with you:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic