Hi,
When uploading an image using file upload calling this code:
InputStream stream = new BufferedInputStream(new FileInputStream(file));
It seems like the webapplication try to access the filesystem temporary to
create the file using FileInputStream.
On Windows it works, but it seems like on
Hi
Im struggling with file upload in appfuse light, i even copied/pasted the
code from appfuse full but it wouldnt work. Can anyone help please
Basically I want to read contents of a file and when we convert InputStream
to BufferedReader, its readLine is returning null.
Thanks,
-saeed
The "int -> long" issue likely lives in many parts of the code, and in some
third party libs as well. What is "-ve"?
Have you considered creating a signed applet that acts as an "upload
manager" on the client side. Many of the video-sharing websites use these
for large files. Google has one, t
Yeah i did modified the file to use "long" instead!, but as i said later
thread, i think it is browser issue, it some how sets content-length to -ve
and then this error !
thanks
PSI
thrasher wrote:
>
> I wonder in the AppFuse code, or your code, uses an "int" to count the
> number of bytes? 2^
I wonder in the AppFuse code, or your code, uses an "int" to count the number
of bytes? 2^32 = 4GB, unsigned. Signed it would be 2GB. Since int is
"signed" in Java, could you be going "negative" in length? Use a long to
get around it, if this is the problem.
-Jason
PSI wrote:
>
> Hi
>
I'm grasping at straws here... but have you tried a different browser then?
Nathan
PSI wrote:
Strange thing is there is no log, I think this is an issue with browser
content-length? maybe there is work-around to this...
cause problem is i get immediately "page-not-found" error page on browser,
Strange thing is there is log, I think this is an issue with browser
content-length? maybe there is work-around to this...
cause problem is i get immediately "page-not-found" error page on browser,
without hitting servlet at all!
melinate wrote:
>
> Without seeing any logs, I would have to gue
Without seeing any logs, I would have to guess it has something to do
with an environment limitation. Filesystem perhaps?
Nathan
PSI wrote:
Hi
I am using appfuse 1.9.4, and the requirement is that i need to upload file
of size @2.5 GB, everything works if file is 1.99GB but anything greater
Hi
I am using appfuse 1.9.4, and the requirement is that i need to upload file
of size @2.5 GB, everything works if file is 1.99GB but anything greater
than 2 GB throws weird exception!.
following is the setting in struts controller:
Any idea why this is happening?
Thanks,
PSI
--
View this