BT

InfoQ Homepage Presentations Spring MVC 3.1 Update

Spring MVC 3.1 Update

Bookmarks

Bio

Rossen Stoyanchev has worked over the years on various Java Web applications including a set of multi-tenant e-commerce web applications, an investment accounting system, a trading and risk management system, and others. I've helped many to learn or to use Spring more effectively through teaching and consulting. Presently he is a committer on the Spring MVC and the Spring Web Flow projects.

About the conference

SpringOne 2GX is a one-of-a-kind conference for application developers, solution architects, web operations and IT teams who develop business applications, create multi-device aware web applications, design cloud architectures, and manage high performance infrastructure. The sessions are specifically tailored for developers using the hugely popular open source Spring technologies, Groovy & Grails, and Tomcat. Whether you're building and running mission-critical business applications or designing the next killer cloud application, SpringOne 2GX will keep you up to date with the latest enterprise technology.

Recorded at:

Dec 30, 2011

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Default of true for ignoreDefaultModelOnRedirect seems inaccurate

    by Neale Upstone /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    In the presentation, you say that ignoreDefaultModelOnRedirect defaults to true if using @Configuration or <mvc> support, but this doesn't seem to be the case.

    I've had to add this to my config:


    @Bean
    public RequestMappingHandlerAdapter requestMappingHandlerAdapter() {

    RequestMappingHandlerAdapter adapter =
    super.requestMappingHandlerAdapter();

    adapter.setIgnoreDefaultModelOnRedirect(true);
    return adapter;
    };


    Has the default changed since the presentation?

    A bit of searching in the source code seems to imply that it has.</mvc>

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.