Re: Handling file downloads?

2006-09-01 Thread Bruce Miller
Matthias Klein wrote: Hi everyone, What is the best method of handling files that are to be offered for download? I have a web application that uses JSF as presentation framework. This web app is available as both stand-alone application in Tomcat as well as portlet deployed within a portle

Juvenile & Unprofessional (was Re: B

2006-07-22 Thread Bruce Miller
Nikola Milutinovic wrote: Could this person (inject other undesirable word) please consider the fact that women are in the user's group also. -- I fail to see any reason for the subject. It is not

Re: Ant deploy task and cluster-wide (farm) deployment

2006-05-21 Thread Bruce Miller
Tim Lucia wrote: Push or pull, when it gets there, it gets there correctly (md5sum-s match). The problem, I think, is that the file appears in the file system before it is received in its entirety. I don't know why -- maybe the nature of samba is to write, close, open-for-append, ... ? If I cop

Content negotiation, getMimeType

2006-05-08 Thread Bruce Miller
Hello again; My app needs a custom content negotiation where URI's that correspond to xml (but without explicit extension) are XSLT'd to html or xhtml (custom since I need browser sniffing to decide about MathML). I'll also be dealing with pre-built pages and caching. I gather from the list arc

Re: Resource vs. RealPath

2006-05-06 Thread Bruce Miller
ue? Thanks, in any case, though. -Tim Bruce Miller wrote: Hi Tomcatters; A seemingly naive question: I've got various configuration data, tucked away under /WEB-INF/. If I use context.getRealPath(datapath), I can check the timestamp, so that I know if it needs to be re-read. However,

Resource vs. RealPath

2006-05-06 Thread Bruce Miller
Hi Tomcatters; A seemingly naive question: I've got various configuration data, tucked away under /WEB-INF/. If I use context.getRealPath(datapath), I can check the timestamp, so that I know if it needs to be re-read. However, this fails if we're serving from a .war file (in which case, presumab