-
Oct 15th, 2012, 11:20 PM
#1
raiseMissingParameterException only in IE
Hi,
We use Spring Portlet MVC3.0 and get this exception intermittenly in IE. pasted our code snippet here.
@Controller("testController")
@RequestMapping(value="VIEW", params="controller=testController")
public class TestController {
@ModelAttribute("formModel")
public TestFormModel buildFormModel(@RequestParam Long applicationKey, @RequestParam String applicationType) {
.......
}
@ResourceMapping("getAccountTypes")
public void getAccountTypes(@RequestParam(required=false) String customerTypeString, ResourceResponse response) {
}
}
On page load, getAccountTypes method will be called. Whenever the user clicks submit on that page, it throws missingParameterException.
I feel that everytime, the method with @modelAttribute will be called and it tries to match the request params applicationKey and applicationType. It may happen in ajax request as well and IE caches it. Since this is an intermittent issue, I'm unable to conclude it. Can somebody suggest a way to avoid this exception ?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules