[PJUG Javamail] downloading file from JEE server app to client (Michael Phoenix)

Bruce Kaufman bjan11 at gmail.com
Mon Aug 3 14:45:55 EDT 2009


Here is a pointer to a most excellent article on how to download a file vai
a web app.

http://balusc.blogspot.com/2007/07/fileservlet.html

Bruce

On Mon, Aug 3, 2009 at 9:00 AM, <javamail-request at pjug.org> wrote:

> Send Javamail mailing list submissions to
>        javamail at pjug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.pjug.org/mailman/listinfo/javamail
> or, via email, send a message with subject or body 'help' to
>        javamail-request at pjug.org
>
> You can reach the person managing the list at
>        javamail-owner at pjug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Javamail digest..."
>
>
> PJUG Javamail Digest
>
> Today's Topics:
>
>   1. downloading file from JEE server app to client (Michael Phoenix)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 2 Aug 2009 20:34:49 -0500
> From: Michael Phoenix <michaelandrewphoenix at gmail.com>
> Subject: [PJUG Javamail] downloading file from JEE server app to
>        client
> To: javamail at pjug.org
> Message-ID:
>        <7903deec0908021834h7167735alf1d1576ca04a8626 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I am currently creating a file in a Web app bean. Any suggestions on
> how to download the file to the client? I want to be able to get a
> directory name from the client and put the file on that directory
> using a standard file name determined by the Web app. The thing that
> is particualrly mystifying to me is how to get the data file from the
> server side to the client. I've googled it but am apparently not
> wording things properly. I am using JSF, but understand AJAX and
> javascript if the easiest solution involves those technologies.
>
> Thanks,
> Mike
>
>
> ------------------------------
>
> _______________________________________________
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
>
>
> End of Javamail Digest, Vol 41, Issue 2
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20090803/733b6ffa/attachment.html 


More information about the Javamail mailing list