Announcement Announcement Module
Collapse
No announcement yet.
HttpMethodFilter in web.xml and "mvc:interceptors" break postForEntity Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HttpMethodFilter in web.xml and "mvc:interceptors" break postForEntity

    Hi,

    It seems HttpMethodFilter in web.xml breaks postForEntity (posting a map of Strings)...

    Multiple projects (Roo based) show this and clearly adding/resp. removing the filter shows an empty/resp. filled map as a result.

    I've even tried stuff like adding
    PHP Code:
    map.add("_method""post"); 
    but without succes.

    And I experience same issue when uncommenting the Roo generated mvc:interceptors

    PHP Code:
    <mvc:interceptors>
            <
    bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor"/>
            <
    bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" p:paramName="lang"/>
        </
    mvc:interceptors
    Any thoughts? Jira it?

    Thanks and best wishes,

    Jochen
Working...
X