You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Atul Gulve <at...@hotmail.com> on 2002/08/20 13:22:29 UTC

Download Dialog box


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.

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

Thanks
Atul

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
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>


Re: Download Dialog box

Posted by Vadim Gritsenko <va...@verizon.net>.
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>