hi,
i am also in need of that code,so can you mail to me.
thanks
ranga
--- shivan <[EMAIL PROTECTED]> wrote:
> HI Jason,
> Thanks for your reply, really appreciate it.
> COuld you please let me know with few sample code
> too,
> so that start understanding.
> eg: if I am reading from byte array to the
> servletoutput
> thanks.
>
> --- Jason Hunter <[EMAIL PROTECTED]> wrote:
> > > I have your book. It's good. However, I couldn't
> > find
> > > any info about downloading a file attachment in
> > email.
> > > I am creating a servlet with e-mail
> functionality
> > > (similar to yahoo/hotmail).
> >
> > Ah, you asked before about file upload. That's in
> > the first edition.
> > File download is in the upcoming second edition.
> > :-)
> >
> > Short story is that if you use a servlet like
> > ViewFile and just change
> > the content type to something like
> > application/octet-stream, the browser
> > will generally ask the user where to save the
> file.
> > Except IE... It's
> > too damn smart to listen to the server and will do
> > whatever it wants
> > with the content. Like if you send a GIF, IE will
> > render it as a GIF no
> > matter what you do on the server side. IE also
> > ignores the
> > Content-Disposition header for GIFs. Stupid
> > Microsoft arrogance.
> >
> > -jh-
> >
> >
>
___________________________________________________________________________
> > 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
> >
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
___________________________________________________________________________
> 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
>
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
___________________________________________________________________________
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