Jeah! it also works for me! thanks!
- Original Message -
From: "Michael Weller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 13:06
Subject: Re: sending a file from Java application to servlet
> Hi!
> For me th
el Weller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 02, 2002 12:37
> Subject: Re: sending a file from Java application to servlet
>
>
> > Hi!
> > Why don't you simply use
URLConnection.setRequestProperty(&qu
Name") to get the name.
>
> -mw
>
> - Original Message -
> From: "Peter Maas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 01, 2002 6:33 PM
> Subject: Re: sending a file from Java application to servlet
>
>
&
er Maas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 6:33 PM
Subject: Re: sending a file from Java application to servlet
> I tried doing that and it almost works... but... (probably a realy stupid
> mistake)
> I would like to
> > ds.writeBytes(line);
> > while((line = br.readLine()) != null){
> >// if there is a newline in the header it probably came from the
binary
> >data
> >ds.writeBytes("\n");
> > ds.writeBytes(line);
> > }
> > }
&g
quot; + ioe );
}
- Original Message -
From: "Padhu Vinirs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 14:18
Subject: Re: sending a file from Java application to servlet
Why not open a HttpURLConnection to the servlet ? Then you
essage -
From: "Padhu Vinirs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 14:18
Subject: Re: sending a file from Java application to servlet
> Why not open a HttpURLConnection to the servlet ? Then you can write to
> the url's
I'm trying to do that now... not working yet... but... seems to be the right
approach
- Original Message -
From: "Padhu Vinirs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 14:18
Subject: Re: sending a file from Java application to
Why not open a HttpURLConnection to the servlet ? Then you can write to
the url's input stream...
-- padhu
-Original Message-
From: Peter Maas [SMTP:[EMAIL PROTECTED]]
Sent: 01 November 2002 12:36
To: [EMAIL PROTECTED]
Subject: sending a file from Java application to servlet
Hi,
you can emulate posting a form, try this link:
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
I dug this out of an old email that Eric Noriega posted to this form, never
hurts to search the archives right?
My browser crashes on the javascript that this page uses (it does so with
10 matches
Mail list logo