Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatic configuration of error pages in Servlet 3.0

Servlet 3.0 allows for programmatic configuration of servlets, filters and listeners. But what about error pages?

I can't see that there's any methods for doing that in ServletContext.

It would be nice to be able to completely abolish the web.xml.

like image 329
henrik_lundgren Avatar asked Jan 06 '12 09:01

henrik_lundgren


1 Answers

There is no technical way one can programmatically add such a definition.

like image 166
Łukasz Rżanek Avatar answered Sep 20 '22 18:09

Łukasz Rżanek