Skip to content

Configuring Content Negotiation Example Code Incorrect [SPR-10204] #14837

@spring-projects-issues

Description

@spring-projects-issues

Michael Robinson opened SPR-10204 and commented

The example code in section 17.15.4 seems incorrect. I believe the line:

configurer.setFavorPathExtension(false).setFavorParameter(true);

should instead be:

configurer.favorPathExtension(false).favorParameter(true);

Thanks,
Michael


Affects: 3.2 GA

Reference URL: http://static.springsource.org/spring-framework/docs/3.2.x/spring-framework-reference/html/mvc.html#mvc-config-content-negotiation

Referenced from: commits 692ced8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions