Re: More on downloading a file

2001-09-26 Thread Leonardo.Araujo
age- > From: Johnson Winfrey [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, September 26, 2001 4:25 PM > To: [EMAIL PROTECTED] > Subject: Re: More on downloading a file > > System.out.println DOES show up in the Java Console of the browser showing > the > Applet...

Re: More on downloading a file

2001-09-26 Thread Johnson Winfrey
t;A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Winfrey Y Johnson/IT/VANCPOWER) Subject: Re: More on downloading a file Sohalia, Note that the System.out.println in your apple

Re: More on downloading a file

2001-09-26 Thread Richard Yee
Sohalia, Note that the System.out.println in your applet code is not going to show up anywhere because the there is no console for the Applet to display. I'd suggest that you have your applet just post to one of the tomcat example servlets that will print out the request. Note that there is not

Re: More on downloading a file

2001-09-26 Thread Damien Serra
Sohaila Roberts wrote: > > Hi, ok i don't get an error anymore (thank you to those who helped me with > that). I removed the ObjectOutputStream from my code, but now my servlet > doesnt seems to not be run even tho a connection to is is established. > (The servletrunner thing where it says the ser

More on downloading a file

2001-09-26 Thread Sohaila Roberts
Hi, ok i don't get an error anymore (thank you to those who helped me with that). I removed the ObjectOutputStream from my code, but now my servlet doesnt seems to not be run even tho a connection to is is established. (The servletrunner thing where it says the servletname: init thing doesnt happe

Re: downloading a file

2001-09-26 Thread Damien Serra
Sohaila Roberts wrote: > > > -- > ObjectInputStream in = new ObjectInputStream(req.getInputStream() ); > ObjectOutputStream out1 = new ObjectOutputStream( resp.getOutputStream() ); > PrintWriter out2 = resp.getWriter(); > try { You can not c

Re: downloading a file

2001-09-26 Thread Richard Yee
Sohalia, You can't call both getOutputStream() and getWriter(). You can only call one or the other. It is documented in the JavaDocs. I don't think you need the call to getWriter(). -Richard At 12:23 PM 9/26/01 -02-30, you wrote: >Hello >I want a servlet to force a download after the user

Re: Downloading a file

2001-05-09 Thread Rajeshwar Rao.V
file Have you thought about XML -> XSLT? Cheers! Mark - Original Message - From: "Jason Hunter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 12:20 PM Subject: Re: Downloading a file > "Rajeshwar Rao.V" wrote: > >

Re: Downloading a file

2001-05-09 Thread Mark Galbreath
Have you thought about XML -> XSLT? Cheers! Mark - Original Message - From: "Jason Hunter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 12:20 PM Subject: Re: Downloading a file > "Rajeshwar Rao.V" wrote: > > >

Re: Downloading a file

2001-05-09 Thread Jason Hunter
"Rajeshwar Rao.V" wrote: > > I used ServletUtils.returnFile() method but it is displaying just contents > of the file on the browser. Any help is appreciated. For some file types on IE that's the best you can get. See http://www.servlets.com/soapbox/bugs.html. -jh-

Downloading a file

2001-05-09 Thread Rajeshwar Rao.V
Hi Friends, I used Jason Hunter package for File Uploading from Browser to Server using servlets.I succesfully did it.My question is I want to dispaly the same file on browser and make it flexible to user to save it to his disk..How can i do that? I used ServletUtils.returnFile() method b

Problem while downloading a file

2000-11-26 Thread Manish Bhatnagar
Hello all! I have a servlet that calls a JNI method to download a file. The file is downloaded the /public_html directory of Java Web Server 2.0. Now, if I view the directory listing of /public_html it lists the file but indicates the size of the file as 0 KB. When I terminate the Web server and t

Re: Downloading a file

2000-02-26 Thread Ravi K U
Do some workaround , set content type such that the browser cannot understand , than write the file into it , browser will ask you to either open or save, you can save it May be its a workaround but it will give a solution ravi servletqa qa wrote: > Hi > How to download a file from server to the

Re: Downloading a file

2000-02-26 Thread Joan Friedman (431)-2016
//HttpResponse res passed into the method that uses this code ServletOutputStream out = res.getOutputStream(); String contentType = getServletContext().getMimeType (filepath); res.setContentType(contentType); try {

Re: Downloading a file

2000-02-25 Thread shishirk
*** - Original Message - From: "servletqa qa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 23, 2000 1:45 PM Subject: Downloading a file > Hi > How to download a file from server to the client usi

Re: Downloading a file

2000-02-24 Thread John John Tobias
tem's Java >Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Downloading a file >Date: Wed, 23 Feb 2000 08:15:56 GMT > >Hi >How to download a file from server to the client using a servlet. (Like >Upload Servelet example.

Downloading a file

2000-02-23 Thread servletqa qa
Hi How to download a file from server to the client using a servlet. (Like Upload Servelet example.) TIA __ Get Your Private, Free Email at http://www.hotmail.com ___ To uns

Re: downloading a file via servlet

1999-10-06 Thread Geoff Soutter
whoops. heres the line... public static final String sCONTENT_DISPOSITION = "Content-Disposition"; -Original Message- From: Henric Larsson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, 7 October 1999 15:39 Subject: Re: download

Re: downloading a file via servlet

1999-10-06 Thread Henric Larsson
To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 1999 7:23 AM Subject: Re: downloading a file via servlet here's an extract from the code I use. check the comments, you should be able to figure it out. // Set the filename // IE4 will use content disposition filename only if it

Re: downloading a file via servlet

1999-10-06 Thread Henric Larsson
ok, I see, but the .henric | www.abelbaker.com | [EMAIL PROTECTED] | - Original Message - From: Geoff Soutter <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 1999 7:23 AM Subject: Re: downloading a file via servlet here's an extract from the

Re: downloading a file via servlet

1999-10-06 Thread Geoff Soutter
eaders.sCONTENT_DISPOSITION, lType + "; filename=\"" + lFileName + "\""); -Original Message- From: Henric Larsson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, 7 October 1999 14:59 Subject: downloading a file via servl

downloading a file via servlet

1999-10-06 Thread Henric Larsson
Hi, I have written a servlet that let's a user download files located in a database, the problem is that the user clicks on a link that looks like this: LargeFile.doc now when the save file dialog box pops up, it want to save the file as FileServlet.zip. I want to modify this so the filedialog