Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring MVC 3 binding help

 
mark xu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to spring MVC. Trying to develop a web application. Page one is a list of users and each one is a link to a detail page.
The link is like this "/user/userid.1"

The problem is that the usr_id I get in this method has only the part before the ".", like "userid" instead of "userid.1".
I felt it's something simple that I didn't do correctly. What did I do wrong?

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mmmh, I don't know, but this seems related to this and this.
 
mark xu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man, it works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic