Re: sending a file from Java application to servlet

2002-11-04 Thread Peter Maas
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

Re: sending a file from Java application to servlet

2002-11-02 Thread Michael Weller
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

Re: sending a file from Java application to servlet

2002-11-02 Thread Peter Maas
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 > > &

Re: sending a file from Java application to servlet

2002-11-02 Thread Michael Weller
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

Re: sending a file from Java application to servlet

2002-11-01 Thread Peter Maas
> > 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

Re: sending a file from Java application to servlet

2002-11-01 Thread Padhu Vinirs
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

Re: sending a file from Java application to servlet

2002-11-01 Thread Peter Maas
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

Re: sending a file from Java application to servlet

2002-11-01 Thread Peter Maas
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

Re: sending a file from Java application to servlet

2002-11-01 Thread Padhu Vinirs
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,

Re: sending a file from Java application to servlet

2002-11-01 Thread Adrian Janssen
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