This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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.
I agree. Here's the link:
subject: spring MVC 3 binding help
It's not a secret anymore!