I might be wrong but maybe you need to set something in your web.xml to
deliver static files. (basically Tomcat is not designed to run static html
files, you can use a combination of Apache serveur + tomcat serveur to do
that).

I strongely recommand you to use an IDE such as Netbeans, create a new Java
Web Application project, put your html file in the project build it.
Netbeans will generate a correct [YourProjectName].war, that you can deploy
or extract to see exactly how it was build, what you need to set etc...

Victor
http://www.voxnucleus.fr

2010/12/8 Lava Saleem <lnsal...@ualr.edu>

> Hi everyone,
> I have  a single page html file with java script embadded in it, I have
> created a war file for it and deployed it successfully but when I click on
> the page I get the below error, the structure of my war file is the
> following
>
> webapp --> filename --> WEB-INF--> filename.htm  + web.xml + META-INF
> +  classes + lib
>
> I did not modify the web.xml since I don't need the servlets do I need to
> modify anything?
>
> HTTP status 404
> description the requested resource (/filename/)is not available
>
> Thanks for the feedback
> Lava
>

Reply via email to