Top "Web.xml" questions

The web.

Configuring a spring-boot application using web.xml

I'm bootifying an existing Spring Web application so the generated war file embed a Jetty web server. I want to …

configuration servlet-filters web.xml embedded-jetty spring-boot
Why use a JSF ExceptionHandlerFactory instead of <error-page> redirection?

All of the ExceptionHandlerFactory examples I have come across so far redirect a user to a viewExpired.jsf page in …

jsf exception-handling web.xml
What is difference between web.xml and weblogic.xml

Recently I started working in Weblogic server. I was trying to add runtime environment when I added a weblogic.xml …

jakarta-ee web.xml weblogic12c
purpose of webAppRootKey?

Can somebody explain this entry in web.xml ? When it has to be used and why ? <context-param> <…

spring-mvc web.xml servlets
glassfish-web.xml vs sun-web.xml vs web.xml

Could someone explain the main differences (or provide a link to) between glassfish-web.xml, sun-web.xml and web.xml? Can …

glassfish web.xml
What is conf/web.xml used for in Tomcat as oppsed to the one in WEB-INF?

My Tomcat deployment has a web.xml file under the conf folder. What is conf/web.xml used for in …

java tomcat web.xml
Can load-on-startup in web.xml be used to load an arbitrary class on startup?

How can I load an arbitrary class on startup in Tomcat? I saw load-on-startup tag for web.xml file, but …

servlets initialization web.xml
Custom 404 using Spring DispatcherServlet

I've set up web.xml as below. I also have an annotation-based controller, which takes in any URL pattern and …

spring annotations http-status-code-404 web.xml
How do web.xml filters work? Can you have two filters map to all pages (/*) and specify the order?

I want to use Spring Security, and it says to map the filter to /***. But I already have a filter …

java servlets spring-security web.xml
Setting 'HttpOnly' and 'Secure' in web.xml

I need to have the 'HttpOnly' and 'Secure' attributes set to 'true' to prevent the CWE-614: Sensitive Cookie in HTTPS …

security session cookies web.xml httponly