This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to view index.html pahe in webapps folder  RSS feed

 
rewati raman
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
My tomcat is up and running. but i am not able to see any other file other that tomcat home page. I placed some of my html pages in the directory but i cant view it.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rewati raman wrote:I placed some of my html pages in the directory

In which directory ?
 
rewati raman
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in webapps directory
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to make a directory in webapps. This directory should contain your web application, and its name will become the name of your application context. For example : webapps/myapp/index.html. Then, you can access it via http://localhost:8080/myapp/index.html (assuming the post is 8080)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!