You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Vadim Gritsenko <va...@verizon.net> on 2002/08/20 14:56:39 UTC

Re: Download Dialog box

Atul Gulve wrote:

>
>
> Hi,
>
> I want to add export functionality in my application.
>
> It means, when a user clicks on some link he should get a download 
> dialog box.
>
> But I am not able to access HttpServletResponse in xsp.


What would you do if it were available?


> If anyone knows how to implement the above functionality then please 
> do let me know.


Set content type to something weird, then browser will prompt user to 
save or open this file.

Vadim


> Thanks
> Atul





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>