File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Reserved words for Spring MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Reserved words for Spring MVC" Watch "Reserved words for Spring MVC" New topic

Reserved words for Spring MVC

Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Hi there

I've already asked google and come up short. Does anyone know where I can find a list of the reserved words for Spring MVC?

We were working on an annotated controller today and after an afternoon of harassment, it turns out that you can't have a property on the command object with the name of "*threshold*". So I figure it must be a reserved word.

Any help to find out would be greatly appreciated.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

How did you find that out. Is it that it is not a reserved word, but something already used in a parent class? The only docs that would show that are the Javadocs.

I am assuming in this case you are extending a class in your class. You always need to know what is defined in the parent classes, regardless of it being a Spring class.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
After some more investigation, it turns out that the classes we were using for the PathParameterFilter stuff must be interfering with the command object on the form. We're using the Carbon Five ParameterizedUrlHandlerMapping. I don't quite know how or why, but I'll be looking into it further to find out so I'll post the answer here when I find out.
I agree. Here's the link:
subject: Reserved words for Spring MVC
jQuery in Action, 3rd edition