I am developing my application using eclipse WTP, and it doesn't require me to have a web.xml file for url mapping.
I want to serve a custom page on 404/403 error. Every solution I could find, suggest use of web.xml. How can I do this using @ annotation.