Top "Servlet-3.0" questions

Java Servlets 3.0 is a new API that supports extensibility/pluggability, Ease of Development (EoD) using the newer language features, Async and Comet support, Security, and other features being as part of the revision for Java EE 6.

Reading of properties file in jsp using Spring MVC

I have a properties file in /WEB-INF/properties/Messages.properties having content as follow label.username=Enter User Name label.…

jsp spring-mvc servlet-3.0 servlet-listeners
How to change the character encoding for Servlet 3.0 Spring MVC multipart upload forms?

I have a pretty simple JSP/Servlet 3.0/Spring MVC 3.1 application. On one of my pages, I have multiple forms. One …

spring jsp spring-mvc servlet-3.0
IllegalStateException: Not supported on AsyncContext.startAsync(req, res)

I have created a servlet 3.0 to explore asynchronous request processing: @WebServlet(name="MyTest", urlPatterns={"/MyTest"}, asyncSupported=true) public class MyTest …

java asynchronous process request servlet-3.0
Make use of web fragments (Servlet API 3.0) in a huge project environment

We recently migrated to Servlet API 3.0. Since we are developing a framework which sometimes needs a few changes in the …

java tomcat servlet-3.0
Tomcat connector architecture, thread pools and async servlets

I would like to understand Tomcat's thread model for BIO and NIO connectors. I am referencing the official Tomcat 7 documentaion …

java multithreading tomcat servlets servlet-3.0
What's the purpose of AsyncContext.start(...) in Servlet 3.0?

Servlet API says about "AsyncContext.start": void start(java.lang.Runnable run) Causes the container to dispatch a thread, possibly …

servlets servlet-3.0
Tomcat 7 Async Processing failing - only one request processed simultanously

I was trying to implement COMET chat using Async Processing defined in Servlet API 3. It was not working - chat …

java tomcat asynchronous comet servlet-3.0
How to enable async support in a Springboot application packaged and deployed as WAR

The following REST endpoint shown below works as expected when my SpringBoot application is run from an executable JAR. That …

java spring-boot war servlet-3.0
GenericFilterBean vs OncePerRequestFilter when to use each?

I've already found some questions related to this topic but I've realised that none of them shed light on this …

java spring spring-mvc servlets servlet-3.0
Java - Async in Servlet 3.0 vs NIO in Servlet 3.1

Until now, as it applies to serving http requests, I thought the terms - asynchronous and non-blocking i/o meant …

java servlets servlet-3.0 servlet-3.1