In PHP development, its possible to determine whether or not the app is running in a production or a development environment from the servers 'environment' variable.

Is there a similar variable available on tomcat servers, or is there a better way of targetting applications for production and development?

Edit
Report