Hi guys!

I want to change the name of a response, i working on a way to a
servlet acts as a file to download, I call the servlet with the proper
request values, then I change the content-type to octet-stream and then
print the proper data...

My problem is that I know what type of file I will send (if it will be
a .txt, .pdf, .tgz or anything else) but I don�t know the way call the
response with the proper name, if there is that way.

The real problem is that my user will try to save the page and he will
not change the filename to the right name on this process and I will
have a big headache :) I need the filename on the save dialog of the
user browser to have the .pdf or .txt extension...

Thanks for any help and sorry for my poor english :)

=====
--
Michel Thadeu Sabchuk
Curitiba/PR


        
        
                
_______________________________________________________
Yahoo! Mail agora com 100MB, anti-spam e antiv�rus gr�tis!
http://br.info.mail.yahoo.com/


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to