Edmond,

> My app generates static html pages from jsp and writes the html files
> to a sub-dir of my context path

Ugh... you are using JSP as a content-generation system? Why!?

> however when I click on the link for the file, I get a 404 error.

Can you give us an example of what the URL of the link is? Or are you
just trying to have Tomcat serve a static HTML document that you had
previously created?

Where (specifically) are you storing these generated HTML documents?

> When I restart the application after adding the file, everthing works
> fine, but obviously I can't redepoly the app everytime a new html is
> added. I have verified that the links are correct, Any ideas?

Can anyone comment on Tomcat's caching of path lookups on the disk? That
would seem to be a tremendous waste of memory if Tomcat actually
remembered that a file didn't exist (not to mention a pain in the neck
if you wanted to add files on the fly like this guy). Can someone
confirm that Tomcat does nothing of the sort? That's the only reason I
could think of for why he can't access his files.

-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to