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
.
精彩评论