BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Presentations Spring MVC 3.1 Update

Spring MVC 3.1 Update

Bookmarks
01:19:41

Summary

Rossen Stoyanchev covers some of the new features available in Spring MVC 3.1: URI variable, Redirect & Flash attributes, UriComponentsBuilder, Multipart Request Support, and HDIV Integration.

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