Displaying document in webbrowser

Discussions

General J2EE: Displaying document in webbrowser

  1. Hi,

    I would like to know whether a generated document can be directly displayed in the web browser without storing it in the webserver space with java.io.File object which holds the document.


    Thanks in advance.
  2. Yes, the stream can be sent to the browser...


    Regards,
    Sridhar Ramshetti
  3. Yes.

    Read this article:

    http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html