Hey! I did a search on the word URGENT in this archive. I came up with 2000 Posts. BTW, you should have checked the archive *before* posting this question, because the answer is undoubtedly in there. But since this is so urgent, generally you need to specify the output stream as a MIME type that is not normally handled by the browser. The browser will then pop up a dialog box asking the user what to do with it. Specifically, go to the archive for more information. Sans adieu, Danny Rubis 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
