It's not a secret anymore!
The moose likes Java in General and the fly likes Web file association problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Web file association problem" Watch "Web file association problem" New topic

Web file association problem

Alex Belt
Ranch Hand

Joined: Jul 12, 2001
Posts: 57
My problem is this: I'm sending a file from a web server using a custom MIME type which causes a Java program to be invoked on the user's machine. The Java program has to process the information in the file and do some work based on that information. How do I find the file on the user's system once it has been sent from the server within the Java program? This is being done on an intranet, so only company employees will have the Java application on their machine to process the file.
Thanks in advance!
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

That file is in the browser's caching structure somewhere, more than likely, with a "name" like cache3C0FCA1F03B01F8.html. So probably the local Java program needs to search for that file by a content match in there?
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
subject: Web file association problem
It's not a secret anymore!