You may need to mudge the headers same as in cf

like http://www.figleaf.com/demo/mimetest/

response.setHeader("Content-Disposition", "inline; filename=emp.csv")

If you need to debug it fully, use wget or telnet to see what headers you
are getting...

Check here for a full (sure...) explaination of how IE figures out what a
file is..
http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.as
p

HTH

Justin

-----Original Message-----
From: Steve Martin [mailto:[EMAIL PROTECTED]
Sent: 09 September 2003 16:50
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] OT: Quick, short, succinct JSP Question


Yup, that's pretty much what I have. Problem is now that I can't get it to
perform the appropriate client action on the incoming http stream i.e. The
file is a PDF, I'm stamping the ContentType as "application/pdf" but I'm
getting a popup asking me what I want to do with the file (save, open,
cancel, more info, take out to dinner, etc.). Opening causes it to open in
stoodio as the filename is download.jsp?id=XXX. Oddly however, the popup
recognises the file as "Adobe Acrobat Control for ActiveX"

> -----Original Message-----
> From: Justin [mailto:[EMAIL PROTECTED]
> Sent: 09 September 2003 16:22
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] OT: Quick, short, succinct JSP Question
>
>
> Something like this...
>
> http://www.experts-exchange.com/Web/Application_Servers/Websph
> ere/Q_20681518
> .html
>
> Depends exactly what you are doing. Its a bit involved in JSP...
>
> I would have thought there are tag-libs to do this somewhere,
> if anyone
> knowes of one I'd like to bookmark it..
> Maybe in http://jakarta.apache.org somewhere...
>
> Justin
>
> -----Original Message-----
> From: Steve Martin [mailto:[EMAIL PROTECTED]
> Sent: 09 September 2003 16:06
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] OT: Quick, short, succinct JSP Question
>
>
> I so should have seen that one coming  ;-)
>
> Could you perchance furnish me with, or point me in the
> general direction of
> a suitable resource that will allow me to implement such a mechanism.
>
> Cheers
> Steve
>
> > -----Original Message-----
> > From: Justin MacCarthy [mailto:[EMAIL PROTECTED]
> > Sent: 09 September 2003 16:06
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] OT: Quick, short, succinct JSP Question
> >
> >
> > Quick, short, succinct JSP Answer Yes
> >
> > -----Original Message-----
> > From: Steve Martin [mailto:[EMAIL PROTECTED]
> > Sent: 09 September 2003 15:55
> > To: [EMAIL PROTECTED]
> > Subject: [ cf-dev ] OT: Quick, short, succinct JSP Question
> >
> >
> > Anyone know what the JSP equivalent to CFCONTENT is?
> >
> > TIA,
> > Steve
> >
> > --
> > ** Archive:
http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

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



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

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


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

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



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

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

Reply via email to