How does java support the doc files

Hai all,

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) .

If u have a solution please mail it to

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

[387 byte] By [manasa_m] at [2007-9-26 1:37:23]
# 1
Hi manu, Please follow the discussion on this particular URL.You will get a good idea. http://forum.java.sun.com/thread.jsp?forum=1&thread=146326ThanksBakrudeen
bakrudeen_indts at 2007-6-29 2:24:03 > top of Java-index,Archived Forums,Java Programming...
# 2
Thank u for ur suggestion . I will try with ur code . I have to do it in jsp . Is it same for jsp also.
manasa_m at 2007-6-29 2:24:03 > top of Java-index,Archived Forums,Java Programming...
# 3
Hi manasa,Yes of course. ThanksBakrudeen
bakrudeen_indts at 2007-6-29 2:24:03 > top of Java-index,Archived Forums,Java Programming...
# 4
Regarding my 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:03 > top of Java-index,Archived Forums,Java Programming...
# 5
r u trying to do a web application or on just an intranet applicaton?
sun_pad at 2007-6-29 2:24:03 > top of Java-index,Archived Forums,Java Programming...
# 6
It's a intranet application . And the placing of words files r done by the administrative dept.
manasa_m at 2007-6-29 2:24:04 > top of Java-index,Archived Forums,Java Programming...
# 7

The organisation I am doing is a intranet containing around 250 computer . The admin part has to place the word files on the browser . What I did is I have created

a applet with browse , attach and done . By browse I have to get that file . By clicking attach I have to attach this file . By clicking the "Done " I have to go to compose box . For this I am using the javamail. But how to browse the files.

manasa_m at 2007-6-29 2:24:04 > top of Java-index,Archived Forums,Java Programming...
# 8
r u writing a Java Mail prg to e-mail the doc or show the doc in the browser?
sun_pad at 2007-6-29 2:24:04 > top of Java-index,Archived Forums,Java Programming...
# 9
Show the doc in the browser
manasa_m at 2007-6-29 2:24:04 > top of Java-index,Archived Forums,Java Programming...
# 10

I am bit confused about ur requirement.

U cannot open a file thr' ur applet which runs in a browser. Do do so, u may have to modify the java policy file or use signed applet. These two links may be of some help for u.

http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/data.html#applet

http://java.sun.com/docs/books/tutorial/security1.2/tour1/step2.html

But I have written a mail long back to ur email with regard to Java Securiy. plz read it. If u need more abt it, get back to me.

sun_pad at 2007-6-29 2:24:04 > top of Java-index,Archived Forums,Java Programming...