Top "Web.xml" questions

The web.

How can I catch all errors to same page from web.xml?

I tried to use <error-page> <exception-type>java.lang.Exception</exception-type> <location>/errors/…

java web.xml custom-error-pages deployment-descriptor
ViewExpiredException shown in java.lang.Throwable error-page in web.xml

I'm working on a JSF web application in which I need to bring up a "Session Expired" page if the …

jsf servlets web.xml custom-error-pages viewexpiredexception
Severe: Parse error in application web.xml

I am trying to teach myself Java, Java EE, and Tomcat pretty much all at once. (Experienced C/Obj-C dev) …

java tomcat web.xml saxparseexception
HTTP Status 500 - Unable to compile class for JSP

HTTP Status 500 - Unable to compile class for JSP Ok, there are lots of articles about this error and i'm …

java jsp package web.xml java-package
Setting up a URL resource on WebSphere Application Server 7.0?

I need to setup a URL resource in WebSphere and is following this tutorial. However, the tutorial requires the modification …

websphere jndi web.xml websphere-7
SEVERE: Parse error in application web.xml file

I'm trying to deploy an application on tomcat 7.0.23 (the web app is all compiled and built), and I've been getting …

java tomcat web.xml parseexception
Spring application context : access web.xml context-params?

Greetings , Is there any way to get values from web.xml context-param into Spring context? For example I define the …

java spring web.xml
How to stop printing exception stack trace on Console?

I wrote a servlet to handle the exceptions occurring in my web app and mapped them in web.xml <…

java tomcat servlets web.xml socketexception
How to put two param-values in one context-param in Spring?

Problem: I have two contextConfigLocation parameters, one with @Configuration classes for spring-social-facebook and one with xml-file for app: <context-param&…

spring web.xml spring-social context-param
<error-page> tag in web.xml doesn't catch java.lang.Throwable Exceptions

I have a web-app developed with servlet & JSP. I configured my app to throw an IllegalArgumentException if I insert …

servlets web.xml custom-error-pages