2013/5/27  <vicky007aggar...@yahoo.co.in>:
> Team,
>
> Is there a way by which we can pass the tomcat port numbers via config file 
> or command line.i don't want to hardcode the port numbers in 
> server.xml.please suggest how to do it
>


Yes.
If "foo" is a system property, you can use "${foo}" in any XML file
parsed by Tomcat.
Explained here:
http://tomcat.apache.org/tomcat-7.0-doc/config/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to