tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Forbeck <>
Subject Re: Static pages dir inside webapps
Date Mon, 26 Aug 2002 14:13:44 GMT
D - 

I am a newbie, but may be able to help. The
$CATALINA_HOME\webapps\[your app] is the directory I
store static pages. This is the area for public files
where WEB-INF stores protected documents. Adding a
special subdir called [your app]\static\ worked for
me. Of course, I forgot to restart Tomcat the first
time (dah), but I eventually gathered my senses.

As far as what previous allowed, I can't help you. I
started with 2.3 and there is a strict directory

Anyhow, I didn't see another repsonse - hope this

--- D Bamud <> wrote:
> I *need* to put a directory (say "static") inside
> webapps that contains
> static html pages. When I try to invoke
> http://localhost:8080/static/test.html  I get 404
> error. HOWEVER the moment
> I make *the* dir WEB-INF in static dir it starts
> working. It was working
> fine in TC3.x without WEB-INF dir but gives the
> problem in TC4.0.4. Does
> that mean that all the apps must adhere to have
> WEB-INF dir? Why?
> --
> To unsubscribe, e-mail:  
> <>
> For additional commands, e-mail:
> <>

Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message