Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to view index.html pahe in webapps folder

 
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