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.

Servlet 3.0: where is @WebServletContextListener?

I am trying to follow a Servlet 3.0 tutorial which refers to @WebServletContextListener. However, I cannot find such an annotation in …

java servlets annotations servlet-3.0
How to avoid request set ASYNC_SUPPORTED=true to enable async servlet 3.0 processing on Tomcat 7?

Following an issue reported on this question, a solution was found: req.setAttribute("org.apache.catalina.ASYNC_SUPPORTED", true); This …

java asynchronous request tomcat7 servlet-3.0
Server Push using java

I am trying to create a simple example of server Push using Java. As in the server push client will …

java jakarta-ee servlet-3.0 server-push
How to programmatically setup a <security-constraint> in Servlets 3.x?

In my current web application I am trying to get rid of web.xml and I have not been able …

java servlets servlet-3.0
Spring Boot MVC Application returns HTTP 404 when deployed to an external Tomcat/tc Server instance

I'm developing a simple application using Spring Boot plus Spring web starter. It goes very well when I'm testing with …

java spring spring-mvc tomcat servlet-3.0
Java Servlet 3.0 spec advises to expose X-Powered-by. Isn't this a security bad practice?

Reading the Servlet 3.0 spec, I came across the following and wonder if that's really the recommended thing to do. I …

java security servlets servlet-3.0 response-headers