File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes unable to view index.html pahe in webapps folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "unable to view index.html pahe in webapps folder" Watch "unable to view index.html pahe in webapps folder" New topic
Author

unable to view index.html pahe in webapps folder

rewati raman
Ranch Hand

Joined: May 22, 2010
Posts: 62
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

rewati raman wrote:I placed some of my html pages in the directory

In which directory ?


[My Blog]
All roads lead to JavaRanch
rewati raman
Ranch Hand

Joined: May 22, 2010
Posts: 62
in webapps directory
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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)
 
jQuery in Action, 2nd edition
 
subject: unable to view index.html pahe in webapps folder
 
Similar Threads
The requested resource (/) is not available.
Configuration problem with Tomcat 6.0 with Virtual Hosts
can not run tomcat, please help(about to giveup on servlets)
Issues with Installing Tomcat
Using IIS5.0 + Tomcat3.2