Thanks for your response.

No issues at serverside contentType.Response contenttype is application/xls.

Browser is opening save dialog and saveing the response into an .xls file.

My requirement is while downloading data ,browser showd show loading or
downloading message till download will get finished.

any idea to show this message using prototype.

Thanks,
Naga.



On Wed, Dec 31, 2008 at 10:35 PM, T.J. Crowder <t...@crowdersoftware.com>wrote:

>
> Hi,
>
> I don't quite understand, from your subject line "How to change
> contentType", it sounds like you want to know how to set the content
> type of the response, but your message talks about doing something
> with a "Loading..." message.  Can you clarify?
>
> (OT: To set the content type of the returned data, in your JSP you
> want to use the setContentType method of the ServletResponse.[1]  So
> if that was the question, that's the answer, but it's a Java EE thing
> serverside rather than a Prototype thing client-side.)
>
> [1]
> http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletResponse.html#setContentType(java.lang.String)
>
> Sorry if I'm being dense, I just got up. :-)
>
> HTH,
> --
> T.J. Crowder
> tj / crowder software / com
>
> On Dec 31, 2:36 pm, Naganirangen <moonon...@gmail.com> wrote:
> > Hi,
> >
> > I'm new user to use this prototype API.Below is my requirement.
> >
> > I'm exporting content from jsp to excel,using setcontentType
> > application/xls of httpresponse.
> >
> > When it is downloading ,browser should show "Loading...." message.
> >
> > I don't know how to handle this using prototype.
> >
> > Can any one suggest me  how to do it ?
> >
> > Your help is highly appreciated.
> >
> > Thanks,
> > Naga.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to