Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in Java by (10.2k points)
I have copied the sample.war file into the webapps directory of Tomcat, and I can access localhost:8080.

Now how will Tomcat deploy it, I mean do I need to open it in browser? How can I access the application?

1 Answer

0 votes
by (46k points)
You can obtain your application form: http://localhost:8080/sample

Expanding or redeploying of conflict files is programmed by default - after copying/overwriting the file sample.war, see webapps folder for an obtained folder sample.

If it doesn't open well, check the log files (e.g. tomcat/logs/catalina.out) for difficulties with deployment.

Related questions

0 votes
1 answer
asked Jul 11, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer
asked Nov 4, 2019 in Java by Anvi (10.2k points)
+1 vote
1 answer
asked Aug 24, 2019 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...