Web report
  1. Web report (2 messages)

    Using jsp how can i save a web report to my local hard
     disk i.e on my jsp page there
     is a link called as save if i click it the data should be
     saved to my local hard disk
     Please help me in this regard

    Threaded Messages (2)

  2. RE:Web report[ Go to top ]

    Set the following headers in HttpResponse:
    1. ContentType=application/octet-stream
    2. Content-Disposition=attachment; filename="myreport.ext"

    You can replace application/octet-stream with more precise MIME type of your report data.

  3. ServletOutputStream[ Go to top ]

    One approach: the servlet can send the report to the client by writing data to the ServletOutputStream.

    These links might be helpful: