Hi all. In our organization we use the browser to display files to user's e.g pdf doc jpg bmp tif etc, But not always the user browser is configured properly and some of the files won't open. Is there any free / open source applet that will know how to handle and display common files like DOC / PDF / JPG ?
Applets won't help with this. If the browser doesn't know what to do with a particular document, generally a dialog is opened that asks the user whether a) the document should be stored to disk, or b) if it should be opened with a particular program of the users choosing. What would you rather have happen?
hi Ulf I'm assuming related software is registered for X type of file (word for doc, acrobat for pdf , mspaint for BMP , etc) What I'm trying to achieve Is that the applet will "host" the registered software and will display it in the browser .
Now I'm confused. What do you mean by an applet hosting an application? I'm guessing that what you're trying to achieve will be easiest without an applet, or, actually, will not benefit at all from an applet, but I'm not sure since I don't understand what exactly the problem is. Can you elaborate?
I'm fairly certain that the image formats are all supported in the way I described earlier. DOC and PDF are entirely different propositions. For PDF, you can use the Acrobat Viewer Bean described here. I'm not aware of any Java package -commercial or otherwise- that can display DOC files. On the other hand, configuring the browser to deal with these formats correctly doesn't seem that hard - any chance of enlightening your users?