How can I run java code before first request arived to server (before the application)?
Should I define something in web.xml?
How can I run java code before first request arived to server (before the application)?
Should I define something in web.xml?
Example 1
Example 2
servlet dependency