![](/img/trans.png)
[英]How does war file creates directory inside tomcat on docker container
[英]how to Debug war file inside tomcat
我剛剛開始從事JSF
工作。 我遵循了一些步驟。 在最后一步,我創建了配置它的項目。 構建項目后,eclipse在我的jsf項目中創建了目標文件夾。 我將war文件移至apache tomcat
webapps文件夾中。
在localhost:8080/firstJsfApp
它成功運行。
但是,當我更改了該項目的某些內容並重新創建了.war file
。 並且我必須再次將其移動到tomcat文件夾中。
無論如何,這使它變得容易嗎?
您可以將Webapp直接從Eclipse部署到tomcat:
1st. Open the "Servers" view in Eclipse, and it will allow you to configure a tomcat instance.
2nd. Add your webapp to the tomcat
然后,您可以調試並將所有更改熱部署到項目中。
這是可以在Eclipse中運行tomcat的鏈接: http : //www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.