Dears,

I know I posted this question before but I'm really disprate trying to
make this work, my problem is on SUN ONE application server 7 platform
edition update 2, I try upload file and I get access denied problem, it
is a problem as starting from JDK 1.4 there is a server policy file
controlling the permissions, and the default is don't allow write from
application, so what I have to do is to load everything in memory and
put it directly to DB without writing it to file.

I looked in struts and it says it support this, by using the property
memFileSize, I tried it and no use also the same error.

I'm using struts 1.1

 

  <controller bufferSize="262144">

    <set-property property="memFileSize" value="10M" />

  </controller>

 

Here is the part of configuration, and hope that anyone give me a
solution.

 

I tried also to use the file upload commons upload 1.0 from jakarta with
struts 1.1 but I got strange behaviour, also someone faced the same
trouble and posted it on here:

http://groups.google.com/groups?q=struts+commons+upload+empty+List+from+
the+parseRequest
<http://groups.google.com/groups?q=struts+commons+upload+empty+List+from
+the+parseRequest&hl=en&lr=&ie=UTF-8&selm=3fcf1c2f.0306142303.507f6703%4
0posting.google.com&rnum=1>
&hl=en&lr=&ie=UTF-8&selm=3fcf1c2f.0306142303.507f6703%40posting.google.c
om&rnum=1

 

 

Thanks, best regards

 

Ashraf Fouad

 

Reply via email to