Top "Web.xml" questions

The web.

What is resource-ref in web.xml used for?

I'm just wondering when/why you would define a <resource-ref> element in your web.xml file? I would …

java web.xml resource-ref
Why do we use web.xml?

What is the use of web.xml and why do we use? <filter> <filter-name>wicket.mysticpaste&…

java servlets jakarta-ee web.xml
Could not open ServletContext resource

This is quite similar question to one older but the solution did not work for me. I have a WAR …

java spring glassfish web.xml
How to define servlet filter order of execution using annotations in WAR

If we define webapp specific servlet filters in WAR's own web.xml, then the order of execution of the filters …

servlets jakarta-ee web.xml servlet-filters order-of-execution
How to register multiple servlets in web.xml in one Spring application

I want to define two servlets in my Spring web.xml - one for the application html/jsp pages, and …

java spring servlets web.xml
Servlet JSP web.xml

I see a feature in NetBeans for selecting a JSP for a Servlet and the result XML in web.xml …

java jsp servlets web.xml
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-4.1.5.xsd

I get an error in spring-dispatcher.xml in eclipse as given below. schema_reference.4: Failed to read schema document 'http://…

spring web.xml
Referencing Environment Variables in web.xml

I'm pre-packaging a JSP web-app that relies on some file path settings found within web.xml. These settings are unknown …

java environment-variables web.xml
java.lang.IllegalArgumentException: Invalid <url-pattern> in servlet mapping

<servlet> <servlet-name>myservlet</servlet-name> <servlet-class>workflow.WDispatcher</servlet-class> <load-on-startup&…

tomcat servlets web.xml illegalargumentexception servlet-mapping
Can anyone explain servlet mapping?

I'm trying to write a web application using SpringMVC. Normally I'd just map some made-up file extension to Spring's front …

java jakarta-ee servlets spring-mvc web.xml