I would like to know what the correct way to set the jndi properties in my tomcat web app. I don't want to hard code the properties in the jsp. Years ago we set these properties: java.naming.factory.initial java.naming.factory.url.pkgs java.naming.provider.url
I'm sure this goes in a xml file. Which one, and how? web.xml?
Here I am assuming tomcat and jboss are on separate servers.