Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> File Upload with OAS 4.0 with JWeb
Thanks in advance for your responses.
I am using OAS 4.0 and trying to upload a file (through the HTML 'FILE' input type) and have an OAS JWeb cartridge parse the form request content and save the file on a server. The HTML code looks like:
<FORM METHOD=POST ACTION="fileUploadClass">
<INPUT TYPE = "FILE" NAME="aFile" ENCTYPE = "multipart/form">
<INPUT TYPE = "SUBMIT" NAME="Submit">
The java code which receives the form submission is:
req = oracle.owas.wrb.services.http.HTTP.getRequest(); byte[] bytes = req.getURLParameterContent();
This code works fine for small text files up seems to break in the following instances:
If anyone has a work around or ideas, I would really appreciate it.
Thanks,
Rob
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Nov 18 1999 - 09:03:28 CST