How java will support the doc files

I am doing a project where the back up word files are to be displayed on the browser . If it is a text file we can give it as a input stream and if it is a image , it will take it as a .jpg . Then how the .doc can be inputed(I want the MS-word files to be inputed) .I have to do it in jsp.

If u have a solution please mail it to

E-mail ID : manu13_m@yahoo.co.in

[395 byte] By [manasa_m] at [2007-9-26 1:37:32]
# 1
There is an RTF parser build into one of the Swing text classes. That is as close to a built-in doc handler as Java has, afaik.
Breakfast at 2007-6-29 2:24:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
That's right ! Don't bother fiddling with the constantly changing MS formats, use RTF instead. MS changes the file format with every new version of Office, so that all users get compelled to buy the new version in order to be able to read what the others have written.
igarn at 2007-6-29 2:24:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Regarding the project I have created an applet with browse , attach and done (Buttons) . By clicking browse I have to get the open dialog box (MS word ) so that i can give the path easily . Any one can help me in that action event.
manasa_m at 2007-6-29 2:24:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...