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
.
There is no technical way one can programmatically add such a definition.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With