Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have copied the sample.war file into the webapps directory of Tomcat, and I can access localhost:8080 .

(我已经将sample.war文件复制到Tomcat的webapps目录中,并且可以访问localhost:8080 。)

Now how will Tomcat deploy it, I mean do I need to open it in browser?

(现在Tomcat将如何部署它,我的意思是我需要在浏览器中打开它吗?)

How can I access the application?

(如何访问该应用程序?)

  ask by translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
231 views
Welcome To Ask or Share your Answers For Others

1 Answer

You can access your application from: http://localhost:8080/sample

(您可以从以下位置访问您的应用程序: http://localhost:8080/sample)

Deploying or redeploying of war files is automatic by default - after copying/overwriting the file sample.war , check your webapps folder for an extracted folder sample .

(默认情况下,war文件的部署或重新部署是自动进行的-复制/覆盖文件sample.war ,检查您的webapps文件夹中是否有提取的文件夹sample 。)

If it doesn't open properly, check the log files (eg tomcat/logs/catalina.out) for problems with deployment.

(如果无法正常打开,请检查日志文件(例如tomcat / logs / catalina.out)是否存在部署问题。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...