Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not autowire field of type org.springframework.web.context.request.WebRequest [SPR-6727] #11393

Closed
spring-projects-issues opened this issue Jan 20, 2010 · 2 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 20, 2010

Mischa Neumann opened SPR-6727 and commented

In a portlet environment it is not possible to autowire fields of type org.springframework.web.context.request.WebRequest in a request scoped proxy.
Autowiring javax.portlet.PortletRequest works fine.


Affects: 3.0 GA

Issue Links:

Referenced from: commits 0a6f234

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Good point: WebRequest should be a resolvable dependency in Servlet and Portlet web application contexts. That gap got closed for 3.0.1 now.

Juergen

@spring-projects-issues
Copy link
Collaborator Author

Mischa Neumann commented

btw: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/portlet.html misses actual documentation about the new 3.0 annotations...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants