<flame>
        *Please* include a subject!  I don't see why anyone wouldn't,
*especially* if he is asking a how-do-I question!  Aaaaaaahhhh!
        In any case,
</flame>
        You can use a ServletOutputStream tou write an output stream to the
browser.  As long as you do a setContentType() before writing it, you
can be pretty sure the browser is going to Do The Right Thing.  I'm
currently doing this with an electronic document database that supports
a variety of formats.  You'd just have to parse the file into a binary
stream and shove it down the pipe.  No applet required.
        One suggestion, though: don't use files like Word or Excel unless
you're intentionally sharing them like that in order to distribute
editable files.  Besides versioning incompatabilities, there are issues
wrt macro viruses, etc.  Word and Excel (and any other Windows apps) can
be converted into .pdf quite easily.

--
Within C++ is a smaller, cleaner language
struggling to get out.
It's called Java.

Thomas Moore
[EMAIL PROTECTED]        Home Account
Software.Engineer         [EMAIL PROTECTED]
phone://732.462.1880:268  NJ Patterns Group Home Page
employer://Celwave, RF    http://members.home.net/twmoore/cjpg

___________________________________________________________________________
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
  • ... Jernigan, Bob
  • ... Timothy Gallagher
  • ... Rui Campos
  • ... Chuck Li
    • ... Gabriel Wong
      • ... Jeffrey Voight
  • ... Patrick McGovern
  • ... Ing. Rolando Romero Acosta
  • ... Formanek Gary L
    • ... Jeffrey Voight
    • ... Thomas Moore
  • ... Jim Graham
    • ... Jason Hunter
  • ... Steve Buonincontri
  • ... Venkat R apsumarthi
  • ... Rajesh Thota
    • ... Julie Baldwin
  • ... Θεόδωρος Κυριμαλής
    • ... Danny Ayers
  • ... Gilad Tiram
  • ... akashmaheshwari

Reply via email to