requested resource not available error

I am using Apache Tomcat 4.1.31 and have JDK 1.4.

The default JSP and servlet examples that come with Tomcat are running,

but the problem is my own applications are not running. I have kept the application in the webapps directory but when I enter the URL for example for an application named 'myapp' saved in the webapps/myapp directory I get an error page displaying the following error message:

HTTP Status 404 - myapp/filename type Status report

message myapp/filename

description The requested resource (myapp/filename) is not available.

Apache Tomcat/4.1.27

the examples folder and myapp folder is in the same directory..

/usr/local/tomcat/webapps/

please help me..thanks in advance for your help..

[768 byte] By [rinoa_fftsya] at [2007-10-2 23:53:21]
# 1
what is filename anyway?
jgalacambraa at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
my filename is genreport.jsp
rinoa_fftsya at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
there maybe some exceptions on your jsp try to put index.html on the myapp folder and try to access http://localhost/myapp
jgalacambraa at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
still same error.
rinoa_fftsya at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
do you error like this:HTTP Status 404 - /myapp--type Status reportmessage /myappdescription The requested resource (/myapp) is not available.--Apache Tomcat/5.5.15
jgalacambraa at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
yes
rinoa_fftsya at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
does you app have myapp/WEB-INF directory? and WEB-INF/web.xml?
jgalacambraa at 2007-7-14 16:39:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...