If you serve the java file through a servlet you can set the 'Content-disposition' header on the response to 'attachment'.

dumbQuestionsAsker _ wrote:

hi everybody,
I want to provide the ability to my webapp's users to download a .java file clicking on a html link. My problem is that I have no "save as" dialog box, Im redirected to the content of my file.
I changed my web.xml mime type but still the same.
Any idea?

_________________________________________________________________
MSN Messenger : personnalisez votre messagerie instantanée ! http://g.msn.fr/FR1001/866


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to