Tomcat 6.0.16 installed, but does not display HTML or JSP files
Hi.
I have installed Tomcat 6 on Ubuntu 7.10. I followed the instructions detailed here: http://www.howtogeek.com/howto/linux...t-6-on-ubuntu/ The start up page for Tomcat displays fine and I can log into Tomcat Manager fine. However, when I added a new directory inside ROOT and saved a HTML file in it, I tried to load the page , but I got a 404 status error with the following message: The requested resource (/test/hello.html) is not available.Does anybody have any idea what may be causing this problem? I would be grateful for any pointers on this as i am new to linux |
Have you checked the permissions of the folder or the file?
1. cd to the directory 2. ls -l 3. This will display permissions along with owner/user. Files owned by root, and user is root, won't be able to be opened by tomcat. -weisso |
Quote:
I have checked and the files are owned by and used by root on my machine. I am a little puzzled though as the index.jsp file in the ROOT directory has the same permissions and user/owner settings and this file can be viewed fine. Do you think I need to make changes to the permissions? Thank you again for your help. Rob |
Quote:
|
Many thanks weisso. Problem solved
Many thanks Weisso. I changed the permissions on one of the files and it works fine now.
Many thanks for you help. Rob |
All times are GMT -5. The time now is 06:20 AM. |