开发者

explanation of how eclipse automatically deploys to tomcat when doing a 'run on server'

I was hoping someone could explain to me how eclipse automatically deploys to your local tomcat installation when you click on 'run on server'? (assume a default eclipse install, and I downloaded tomcat to c:\dev\servers\tomcat_6.0.18/ and pointed eclipse to that server when settin开发者_运维问答g up the server).

It would be great if you could mention where the files are stored for the local installation to work etc.


It's all definied in the server.xml which Eclipse has given to Tomcat. This file contains information where the document base is located and which contextname it has to be associated with. You can find its path by doubleclicking the Tomcat instance in the Servers view and checking the Server path field in Server locations section. You need to browse a bit furher something like as tmp0\conf\server.xml.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜