Hello,

I have developed a FileServlet servlet that reads a file and serves it. I am
having trouble returning a file name when I set the content-disposition to
"inline". (When the content-disposition is set to "attachment" it works
fine). The code I have is as follows:

      String contentDispositionHeader = "inline"+"; filename=\"" +
fileName+"\"";

The problem is that I have a list of files that uses the FileServlet to
return files but once I return one of them it does not open the other saying
that a file of that name is already open (these files are Excel
spreadsheets).

I would appreciate any suggestions about this.
Thanks.
Sudip

________________________
Sudip Chakraborty
Co-Founder & Vice-President, Technology
inductis inc.
Phone :  908-598-9250
Cell  :  908-337-4506
Fax   :  908-598-9259





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 3:35 PM
To: JRun-Talk
Subject: RE: Allaire clients



--openmail-part-2c0d7bf4-00000001
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
        ;Creation-Date="Thu, 26 Oct 2000 14:34:47 -0500"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by
damgwp01.corp.sprint.com id e9QJd2h17737

Sprint World Headquarters
Real Estate Technology Division

- Doug Turner
Web Developer, Real Estate Technology=20
email: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>=20
Tel. 913-315-4439
=A0


-----Original Message-----
From: krish36807 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 2:22 PM
To: jrun-talk
Cc: krish36807
Subject: Allaire clients


All,=20
=20
Please mention the leading companies implemented JRUN !!!=20
=20
Thanks,=20
Anil=20
=20
=20


________________________________________________
PeoplePC:  It's for people. And it's just smart.=20
http://www.peoplepc.com=20
------------------------------------------------------------------------
------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dlists/jrun_=
tal
k
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.


--openmail-part-2c0d7bf4-00000001--

----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to