Hi, I tried to switch Spring version in my project from 3.0.2 to 3.1.0, but some functionality didn't work.
I tracked down the problem to the feature added recently to spring.
I have a method, something like this:
and i have a tagx, with the attribute:Code:@RequestMapping(value = "/foo/{id}", method = RequestMethod.GET) public String fooService(@PathVariable("id") Long serviceId, ModelMap modelMap, HttpServletRequest request){ ... }
the problem is, that if id attribute is not specified, when using this tag, the ${id} automatically gets the value from model.Code:<jsp:directive.attribute name="id" required="false" type="java.lang.String" rtexprvalue="true"/>
It's a quite big project, and it is problematic to track down all the conflicting variables.
Is there a way to disable this functionality? So that pathvariables doesn't get included in the model?


Reply With Quote
