set a different mime type other than what your browser can understand. Than
your browser will give a save option
 ravi
Suhail Beig wrote:

> Hi all,
>
>  I have a very interesting problem at hand.
>
> I have a button named download on my HTML form
> When I click that button it invokes a servlet
> The servlet creates a file on the server by accessing
> database.
> I want this file to be returned back to the user not
> as a HTML file but for download.
>
> Can anybody help..Urgent!!
>
> Thanks
> Suhail
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts 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

___________________________________________________________________________
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

Reply via email to