Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Josh on Apr 29, 2008 18:50
open dhtmlx forum
dhtmlxvault

Hi,

I was trying to get the dhtmlxVault Java jsp example to work. For some reason, when I upload a file, it seems as it sits in an infinite loop.

It calls
getIdHandler
getInfoHandler
uploadHandler

then loops on getInfoHandler

The only time it calls uploadHandler, for some reason
"List /* FileItem */ items = upload.parseRequest(request);" returns an empty list, so the following while loop
"while (iter.hasNext()) {" never loops...

I'm running this on a linux machine, and specified
"String uploadFolder = "/tmp/upload";" which has full write permissions

I can't figure out why "upload.parseRequest(request);" returns an empty list
Answer posted by Support on Apr 30, 2008 02:15

Hi,

Are you using the supplied libs for upload, or just the default apache's one? It will not work. So please use the attached lib.