Skip to content

Expose handler bean in ResourcesBeanDefinitionParser. [SPR-9544] #14178

Closed
@spring-projects-issues

Description

@spring-projects-issues

Scott Carlson opened SPR-9544 and commented

I attempted to use mvc:resource/ to map to some application PDFs. However, IE8 fails with the settings from preventCaching() (See #14177). To set the pragma correctly, I had to manually wire up the same logic from ResourcesBeanDefinitionParser. If the implementation class was an attribute, that defaulted to ResourceHttpRequestHandler.class, it would've been much simpler.


Affects: 3.1.1

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions