Re: Fwd: file upload

2001-07-12 Thread Nick Newman

Hi Christoph,

Sending a file to the server is a specialized little job.  The Orion server 
supplies some orion-specific classes to help (see www.orionsupport.com and 
search for 'upload').  Alternatively, I have written some generic J2EE code 
for the same task, and you are welcome to have that - just drop me a 
line.  (The orionsupport guys said they'd post it on their website, but so 
far it's not there.)

Nick,
SCIENTECH Inc

At 04:09 PM 7/12/01 +0200, you wrote:
resending cos it didnt appear on the list for 24 hours :)

This is a forwarded message
From: Christoph Sturm [EMAIL PROTECTED]
To: orion-Interest [EMAIL PROTECTED]
Date: Tuesday, July 10, 2001, 3:27:46 PM
Subject: file upload

===8==Original message text===
Hello orion-Interest,

   I want to stream a uploaded file to the ejb server and save it in a
   cmp bean. The problem is that a FileInputStream is not serializable.
   Whats the best way to handle this?

--
Best regards,
  Christoph  mailto:[EMAIL PROTECTED]





Re: Fwd: file upload

2001-07-12 Thread Joseph B. Ottinger

Nick, can you resend that to me?

On Thu, 12 Jul 2001, Nick Newman wrote:

 Hi Christoph,
 
 Sending a file to the server is a specialized little job.  The Orion server 
 supplies some orion-specific classes to help (see www.orionsupport.com and 
 search for 'upload').  Alternatively, I have written some generic J2EE code 
 for the same task, and you are welcome to have that - just drop me a 
 line.  (The orionsupport guys said they'd post it on their website, but so 
 far it's not there.)
 
 Nick,
 SCIENTECH Inc
 
 At 04:09 PM 7/12/01 +0200, you wrote:
 resending cos it didnt appear on the list for 24 hours :)
 
 This is a forwarded message
 From: Christoph Sturm [EMAIL PROTECTED]
 To: orion-Interest [EMAIL PROTECTED]
 Date: Tuesday, July 10, 2001, 3:27:46 PM
 Subject: file upload
 
 ===8==Original message text===
 Hello orion-Interest,
 
I want to stream a uploaded file to the ejb server and save it in a
cmp bean. The problem is that a FileInputStream is not serializable.
Whats the best way to handle this?
 
 --
 Best regards,
   Christoph  mailto:[EMAIL PROTECTED]
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





Re: Fwd: file upload

2001-07-12 Thread Nick Newman

Hi Joe,

Here it is.  (I hope you didn't mind my subtle hint.   I know you're 
busy!  ;-)

I think that what's in the zip is a good starting point for most uses, but 
if you think I should add something before you want to show it, let me know 
and I'll see what I can do.

Thanks!
Nick


At 01:18 PM 7/12/01 -0500, you wrote:
Nick, can you resend that to me?

On Thu, 12 Jul 2001, Nick Newman wrote:

  Hi Christoph,
 
  Sending a file to the server is a specialized little job.  The Orion 
 server
  supplies some orion-specific classes to help (see www.orionsupport.com and
  search for 'upload').  Alternatively, I have written some generic J2EE 
 code
  for the same task, and you are welcome to have that - just drop me a
  line.  (The orionsupport guys said they'd post it on their website, but so
  far it's not there.)
 
  Nick,
  SCIENTECH Inc
 
  At 04:09 PM 7/12/01 +0200, you wrote:
  resending cos it didnt appear on the list for 24 hours :)
  
  This is a forwarded message
  From: Christoph Sturm [EMAIL PROTECTED]
  To: orion-Interest [EMAIL PROTECTED]
  Date: Tuesday, July 10, 2001, 3:27:46 PM
  Subject: file upload
  
  ===8==Original message text===
  Hello orion-Interest,
  
 I want to stream a uploaded file to the ejb server and save it in a
 cmp bean. The problem is that a FileInputStream is not serializable.
 Whats the best way to handle this?
  
  --
  Best regards,
Christoph  mailto:[EMAIL PROTECTED]
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant

 UploadServlet.zip