2013/5/27 <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]