Announcement Announcement Module
Collapse
No announcement yet.
raiseMissingParameterException only in IE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?
Working...
X