Demo Home
Test Web Application Only - Do NOT Deploy in Production

Servlet 3.1 Test WebApp

This example tests some aspects of the servlet 3.1 specification:

The source repository for this test is available here.

Test Servlet 2.5/3.0 Annotations, Fragments and Initializers

DeclaresRoles

Login as user admin with password admin when prompted after clicking the button below to test @DeclareRoles annotation

ServletSecurity

Login as user admin with password admin when prompted after clicking the button below to test @ServletSecurity annotation

Test Servlet 3.0 Multipart Mime

Test of the annotation:
@MultipartConfig(location="foo/bar", maxFileSize=10240, maxRequestSize=-1, fileSizeThreshold=2048)
File to upload:

AsyncListener Resource Injection

Click the following link to test that javax.servlet.AsyncListeners are injectable