Just so I understand, file.jpg is hosted fine back to a browser. File.pdf,
in the same location, is not hosted back to the browser find. Is that what
you are experiencing? Sounds like tomcat is configured to execute pdf
documents as opposed to hosting them. Much like you would configure a
To store a Java Object in session (HTTPRequest or HTTPResponse), just make
any Object (POJO or something more complicated) implement
serializable. Keep in mind, you don't need to code an extra functions,
just add the implements serializable to Class definition.
-Jay
At 07:42 AM 4/27/2005
I would like to limit access to a directory path that I have in tomcat by
domain. I believe I can use the mod_access module with the allow directive
to do this. I found information about the directive at
http://httpd.apache.org/docs/mod/mod_access.html#allow but I am still
slightly confused.