问题描述:

I want to check from eclipse if my code is being ran locally on the tomcat server.

Something like...

if (tomcat_env.equals("localhost"))

{

...

}

How can I do this?

相关阅读:
Top