diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AnnotationTest.java b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AnnotationTest.java index b90f3561d71..fac61a987fd 100644 --- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AnnotationTest.java +++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AnnotationTest.java @@ -209,6 +209,7 @@ public class AnnotationTest extends HttpServlet __HandlesTypes = Arrays.asList( "javax.servlet.GenericServlet", "javax.servlet.http.HttpServlet", + "com.acme.AsyncListenerServlet", "com.acme.AnnotationTest", "com.acme.RoleAnnotationTest", "com.acme.MultiPartTest", diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AsyncListenerServlet.java b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AsyncListenerServlet.java index 5a611a76d55..b828610abc2 100644 --- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AsyncListenerServlet.java +++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/AsyncListenerServlet.java @@ -98,6 +98,7 @@ public class AsyncListenerServlet extends HttpServlet PrintWriter writer = resp.getWriter(); writer.println( ""); + writer.println("
"); writer.println( ""); writer.println(""); @@ -107,14 +108,14 @@ public class AsyncListenerServlet extends HttpServlet writer.println("private void postConstruct ()"); writer.println("{}"); writer.println(""); - writer.println("
"); writer.println("@Resource(mappedName=\"maxAmount\")"); writer.println("private Double maxAmount;"); writer.println(""); - writer.println("
Click the following link to test that javax.servlet.AsyncListeners are injectable
+ +