No, the resource does not go in your web.xml, it goes in your applications context.xml file. So in $CATALINA_HOME/conf/Catalina/localhost/myApplicationName.xml
// Json
Type: Posts; User: Json
No, the resource does not go in your web.xml, it goes in your applications context.xml file. So in $CATALINA_HOME/conf/Catalina/localhost/myApplicationName.xml
// Json
This is how we define JNDI datasources.
In the application context XML file.
<Resource name="jdbc/someName" auth="Container" type="javax.sql.DataSource"
...