[
https://issues.jboss.org/browse/WELD-823?page=com.atlassian.jira.plugin.s...
]
Pete Muir commented on WELD-823:
--------------------------------
On testing, this is working fine. There is simply a bug in the docs, that you should put
jetty-web.xml into META-INF, actually it needs to go in WEB-INF.
Injection into Servlet not working in Jetty 6.x
-----------------------------------------------
Key: WELD-823
URL:
https://issues.jboss.org/browse/WELD-823
Project: Weld
Issue Type: Bug
Components: Web Tier integration (JSF, JSP, EL and Servlet)
Affects Versions: 1.1.0.CR4
Reporter: Dan Allen
Assignee: Matija Mazi
Fix For: 1.2.0.Beta1
Apparently the test suite does not test injection into Servlets for Jetty 6.x because
users are reporting that it doesn't work. I added a Servlet injection into the
numberguess example and was able to verify that the injection is not taking place, despite
receiving the startup message:
INFO: Jetty detected, JSR-299 injection will be available in Servlets and Filters.
Injection into Listeners is not supported.
If this turns out to be a user error, then we need to turn to a documentation
improvement, because a guy like Antonio should not be having difficulty getting this to
work.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira