One other thing to look into is www.swfupload.org (I think there may be
one or two other similar projects). Its a Flash 'applet' that can be
used to do HTTP uploads; its got pluses and minuses, but at least it has
a little better feedback than the standard web browser upload.
Angelo Chen
and minuses, but at least it has
a little better feedback than the standard web browser upload.
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18499909.html
Sent from the Tapestry - User mailing list archive at Nabble.com
://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18377198.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Angelo,
what if you increase session timeout in web.xml?
Marcus
session timeout in web.xml?
Marcus
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18478649.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Have you tried to create a RequestExceptionHandler and catch the
FileUploadBase.IOFileUploadException? You can then redirect to a page
telling the user that there was a timeout
See for an example of RequestExceptionHandler:
http://wiki.apache.org/tapestry/Tapestry5RedirectException
Martijn
?
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out
Just to be sure. Have you checked out this?
http://commons.apache.org/fileupload/faq.html#read-timeout
Martijn
On Tue, 2008-07-15 at 20:21 -0700, Angelo Chen wrote:
Hi Martijn,
I'll give this a try, thanks. it is kind of difficult to test this situation
in IDE, is there a way to simulate a
of
Tapestry-upload.
Angelo
Martijn Brinkers (List)-2 wrote:
Just to be sure. Have you checked out this?
http://commons.apache.org/fileupload/faq.html#read-timeout
Martijn
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18480564.html
());
file.write(copied);
}
}
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18377198.html
Sent from the Tapestry - User mailing list archive at Nabble.com
;
}
public void onSuccess()
{
File copied = new File(/my/file/location/ +
file.getFileName());
file.write(copied);
}
}
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out
/ +
file.getFileName());
file.write(copied);
}
}
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload-and-time-out-tp18355064p18377198.html
Sent from the Tapestry - User mailing list archive at Nabble.com
)
{
this.file = file;
}
public void onSuccess()
{
File copied = new File(/my/file/location/ +
file.getFileName());
file.write(copied);
}
}
--
View this message in context:
http://www.nabble.com/T5%3A-FileUpload
13 matches
Mail list logo