Top "Web.xml" questions

The web.

Can I turn off the HttpSession in web.xml?

I would like to eliminate the HttpSession completely - can I do this in web.xml? I'm sure there are …

java session web-applications web.xml
cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'

This is my web.xml xsd <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/…

servlets xsd web.xml init-parameters
How can I read context parameter/web.xml values in a non-servlet java file?

I've got a regular java file that I use to update and query a mysql database but I need to …

java servlets web.xml
How to write a spring bean with a constructor that contains a list?

I have a list as follows: ArrayList<DiameterMessageHandler> handlers = new ArrayList<>(); handlers.add(new AARHandler()); handlers.…

java spring spring-mvc web.xml
Servlet and path parameters like /xyz/{value}/test, how to map in web.xml?

Does servlet support urls as follows: /xyz/{value}/test where value could be replaced by text or number. How to …

servlets get web.xml path-parameter
Security constraint in web.xml not getting applied to URL patterns having file extension

I have the following security constraints entered in the web.xml. My objective is that the XML files are in …

java servlets web.xml security-constraint
Eclipse FeatureNotFoundException

I have built my project with maven All builds successful and eclipse properties generation is also successful But when I …

eclipse web.xml
Sometimes I see JSF URL is *.jsf, sometimes *.xhtml and sometimes /faces/*. Why?

Been try to learn JSF, and sometimes I see the URL is *.jsf and sometimes is *.xhtml or /faces/*. Can …

jsf web.xml facelets url-pattern
Unable to find web.xml in netbeans 7.0.1

I want to upload a file to a server, for which I am writing a servlet program.The location of …

java jakarta-ee servlets web.xml deployment-descriptor
What exactly is the web-app version? What does it affect?

In a java web application, there is a file called web.xml and it has a versioning. What exactly is …

jakarta-ee web.xml