Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Spring and the fly likes spring MVC 3 binding help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "spring MVC 3 binding help" Watch "spring MVC 3 binding help" New topic

spring MVC 3 binding help

mark xu

Joined: Sep 22, 2006
Posts: 4
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?

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Mmmh, I don't know, but this seems related to this and this.

[My Blog]
All roads lead to JavaRanch
mark xu

Joined: Sep 22, 2006
Posts: 4
Thanks man, it works.
It is sorta covered in the JavaRanch Style Guide.
subject: spring MVC 3 binding help