• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

How do a RequestMapping in Spring 3.0 for /{id} and /form

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

Problem solved. The mappings worked again after I changed some links that didn't use the contextpath correctly. I must have misread the stack trace.


I'm trying to create a simple CRUD-application using Spring 3.0 and it's new RESTful features. But these two mappings conflict:



If I do a call like this...



I end up with this:



Any suggestions? I've tried changing the order of the methods but that does not help. What is the priority ordering of the @ReqestMapping values? I've tried searching but the docs for 3.0 are sparse so far.

/Daniel
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic