3
在server.xml中我看到:tomcat中server.xml中的意思是什麼?
<Connector port="@[email protected]"...
是什麼意思字符@在這種情況下? 謝謝。
在server.xml中我看到:tomcat中server.xml中的意思是什麼?
<Connector port="@[email protected]"...
是什麼意思字符@在這種情況下? 謝謝。
這可能是一個佔位符,將在運行時動態替換。
沒錯。特別是,@語法是標記[Ant替換](http://ant.apache.org/manual/Tasks/replace.html)任務的標記的傳統方式。這表明在Tomcat啓動之前,這個server.xml將作爲構建過程的一部分與Ant一起處理。 –