All you need to do is make sure the server is sending the correct content
type and call showDocument() from your applet. The browser (if configured
correctly) will recognize the MIME type and launch the appropriate
application. showDocument() does the same thing clicking on a link in HTML
does.

Aaron

> -----Original Message-----
> Sorry about forgetting the subject line!!!
>
> Gary
>
> > -----Original Message-----
> > Hi,
> >
> > Does anyone know if you can read a file of say MS Word or
> Excel or any
> > other
> > file for that matter such as a Acrobat .PDF file (either
> locally or from a
> > servlet), and then from the applet, direct the file to a
> browser which
> > will
> > recognize the mime type and automatically start up MS Word
> (or whatever)
> > and
> > display the document? This would be similar to when you
> click on a link in
> > the browser and cause the browser to start up an
> application. If I use
> > this
> > method, I don't want to have to have the file be located on
> the server in
> > the web anywhere (I know how to do this). I want to
> actually serialize the
> > file from the servlet back to the applet or read it locally from the
> > applet
> > and push to the browser.
> >
> > If this can't be done by the applet, can you do it with a servlet by
> > directing the output back to the browser?
> >
> > TIA,
> >
> > Gary
> >

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to