jknaresh / gwtupload Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gwtupload
License: Other
Automatically exported from code.google.com/p/gwtupload
License: Other
GWTUpload & JSUpload GWTUpload is a library for uploading files to web servers, showing a progress bar with real information about the process (file size, bytes transferred, etc). It uses ajax requests to ask the web server for the upload progress. It has two components written in java, the server side with servlet and utility classes, and the client side that is compiled into javascript using gwt. JSUpload is the same client library but compiled and exported into javascript, so non java developers can use it directly in web pages. I've written an article describing the technique used to do this. JSUpload provides a server program coded in perl that can be installed in any web server as a cgi-bin script. GWTUpload-GAE is a library including a special servlet to handle uploads in Google Application Engine servers (GAE). BUILDING: - Checkout the code from either github or googlecode: git clone https://github.com/manolo/gwtupload.git git clone https://code.google.com/p/gwtupload/ - Assuming you have already installed maven in your system just run: mvn package RUNNING EXAMPLES - To compile the examples and run them with maven jetty plugin mvn jetty:run-exploded - To run examples in GWT dev mode run: mvn gwt:run - You can deploy the generated gwtupload-version.war in a servlet container or run it with: java -jar gwtupload-version.war ECLIPSE: - You can use m2eclipse (sonatype) to import the project - Or you can generate an eclipse project running: mvn eclipse:eclipse HELP: 1.- Read the documentation: http://code.google.com/p/gwtupload/w/list 2.- Check if your issue is listed in: http://code.google.com/p/gwtupload/issues/list?can=1 3.- Read the mailing list: http://groups.google.com/group/gwtupload 4.- Ask to the list: [email protected] 5.- Open an issue - Manuel Carrasco Moñino
What steps will reproduce the problem?
ex The app is:
GWTApp
works in Tomcat via client side code (absolute path):
defaultUploader.setServletPath("/GWTApp/com.acme/AcmeUploadServlet");
fails in Tomcat, but works in Eclipse IDE (relative servlet path):
defaultUploader.setServletPath("/com.acme/AcmeUploadServlet");
What is the expected output?
The app name should be prepended in the setServletPath call.
What do you see instead?
defaultUploader.setServletPath is not prepending the app name so client
side requests fail with 404 when deployed to Tomcat 6.
What version of the product are you using?
Latest 57
On what operating system?
Deployed to Windows XP x64 running Tomcat 6.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 8:15
Hi, I wanted to use/extend your lib but implementation looks quite
over-encapsulated.
Just first 2 problems I met when tried to customize lib with my needs...
1. IUpdateable interface and UpdateTimer having package access. It is
impossible to implement IUploader interface but still use those classes.
Does this have real need for this restriction?
2. onSubmitCompleteFormHandler for eg. in Uploader is private. And there is
now way to set different implementation of the handler. (I in particular
wanted to save servlet response message to use further)
and I only scratched the surface of API...
Java is all about extending, and this is Apache licensed open source
project :)
P.S. This is not to offence, this lib is very cool, just need more open API.
And sorry for writing it here - could find other way to contact you :)
Original issue reported on code.google.com by [email protected]
on 18 Aug 2009 at 5:39
What steps will reproduce the problem?
1. Use jsupload in a local network
2. Upload a small file
3. After getting state change "inprocess" comunitation freezes
What is the expected output? What do you see instead?
Process bar should get fully loaded, then ok should appear.
Process bar stays completely empty instead.
The file is succesfully uploaded but client side never knows about it.
What version of the product are you using? On what operating system?
0.5.7
Please provide any additional information below.
I "solved" de problem adding some extra code in saveFile function i guess
it sets it slower then it got time to trigger events. But not sure.
Just added:
open( F, ">$error_file" );
print F "save file";
close(F);
after vars definition in saveFile function, in order to debug it. log is
writen succesfully.
Anyway, i tried the same with doPost function and no line was writen in
error_file...
Hope it helps! Thank you for your work
Original issue reported on code.google.com by [email protected]
on 20 Apr 2010 at 3:50
Enhancement:
Uploader.composeURL() composes an url that causes a warning 'WARNING:
Parameters: Invalid chunk ignored'
Add the line:
ret = ret.replaceAll("\\?&", "\\?");
or
ret += "?x=1";
Original issue reported on code.google.com by [email protected]
on 15 Mar 2010 at 12:14
What steps will reproduce the problem?
1. I have created a own class overwriting the UploadAction class as
described in getting started
2. In the Method: public String executeAction(HttpServletRequest request,
List<FileItem> sessionFiles)
I try to get a required Information for my app which is stored in:
Object foo = getThreadLocalRequest().getSession().getAttribute("foo");
3. getThreadLocalRequest() returns null. A NullPointerException is the
result
What is the expected output? What do you see instead?
I want to get the required reference. In each Servlet which overwrites
Googles' RemoteServiceServlet this way works.
What version of the product are you using? On what operating system?
gwtupload-0.5.5.jar
Please provide any additional information below.
Am I allowed to use getThreadLocalRequest() in these methods of
UploadAction?
Original issue reported on code.google.com by [email protected]
on 10 Dec 2009 at 10:00
Exception in thread "Thread-17"
gwtupload.server.exceptions.UploadCanceledException
at gwtupload.server.UploadServlet.cancelUpload(UploadServlet.java:312)
at gwtupload.server.UploadServlet.doGet(UploadServlet.java:155)
at gwtupload.server.UploadAction.doGet(UploadAction.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInter
nal(ServletWr
appingController.java:158)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractCon
troller.java:
153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Simple
ControllerH
andlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.j
ava:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet
.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
at com.tyrrells.sinmo.server.filters.CacheFilter.doFilter(CacheFilter.java:30)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:378)
at
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(Filt
erSecurityIntercep
tor.java:109)
at
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(Fi
lterSecurityInterce
ptor.java:83)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(Exceptio
nTranslationFilte
r.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFil
terHttp(Ano
nymousProcessingFilter.java:105)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractPr
ocessingFilter.jav
a:277)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at com.tyrrells.sinmo.server.filters.GWTLogoutFilter.doFilterHttp(GWTLogoutFilter.java:89)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilte
rHttp(HttpSessi
onContextIntegrationFilter.java:235)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.ja
va:390)
at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFi
lterProxy.java:
236)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterPr
oxy.java:167)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Original issue reported on code.google.com by [email protected]
on 17 Sep 2009 at 10:09
What steps will reproduce the problem?
1. Try link http://gwtupload.alcala.org/gupld/index.html
2. See the 404
Manolo, we would like to be able to take a look at the file uploader stuff
before setting it in a project.
Saludos!
Original issue reported on code.google.com by [email protected]
on 5 Jan 2010 at 2:53
Hi everybody, I trying to show to the client a "save as" dialog box, with
the purpose of the user can download a file generated from the server side.
I don't know how do that, if somebody knows how I do it.... thanks a lot
Regards,
Lucas Rios
Original issue reported on code.google.com by [email protected]
on 4 May 2010 at 10:34
What steps will reproduce the problem?
1. Included the new jar - gwtupload-0.5.8-M3.jar
2. Get below error on compilation
[java] [ERROR] Errors in
'jar:file:/C:/code/workspaces/test/Ear/EarContent/gwt/gwtupload-0.5.8-M3.jar!/gw
tupload/client/IFileInput.java'
[java] [ERROR] Line 73: The type IFileInput.FileInput
must implement the inherited abstract method
HasChangeHandlers.addChangeHandler(ChangeHandler)
[java] [ERROR] Errors in
'jar:file:/C:/code/workspaces/test/Ear/EarContent/gwt/gwtupload-0.5.8-M3.jar!/gw
tupload/client/DecoratedFileUpload.java'
[java] [ERROR] Line 203: The method
addChangeHandler(ChangeHandler) is undefined for the type
DecoratedFileUpload.FileUploadWithMouseEvents
[java] Removing invalidated units...
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
gwtupload-0.5.8-M3.jar
OS - Win XP SP3
Please provide any additional information below.
Was able to use gwtupload-0.5.7.jar successfully in my application.
Replaced it with gwtupload-0.5.8-M3.jar and got above error.
Let me know if I need to implement ChangeHandler and how? Why was it not
required in previous version?
Original issue reported on code.google.com by [email protected]
on 6 Apr 2010 at 2:19
What steps will reproduce the problem?
1. std single file upload
2. pass the file to be uploaded
3. on the servlet side add a delay of more than 1 second.
What is the expected output?
onFinishUploaderHandler should not be called until the action is completed.
What do you see instead?
When I debug the code. the client side onFinishUploaderHandler is called
before the break point is called.
What version of the product are you using?
Latest.
On what operating system?
On Mac OS X 10.6.x
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2010 at 11:11
What steps will reproduce the problem?
1. Try to upload any bin file on windows
2. try to open the server side uploaded file :-)
What is the expected output? What do you see instead?
The carry return byte 0A gets replaced by 0D0A
What version of the product are you using? On what operating system?
0.5.7 under windows
Please provide any additional information below.
the solution is to modify the safeFile function this way:
sub saveFile {
my ( $key, $name, $type, $fd ) = @_;
my $bin_file = "";
if ($fd) {
$bin_file = $user_dir . $key . ".bin";
open( BIN, ">$bin_file" ) || return;
## here it comes
binmode(BIN);
## solved
while (<$fd>) {
print BIN $_;
}
close(BIN);
}
my $info_file = $user_dir . $key . ".info";
open( INFO, ">$info_file" ) || return;
print INFO "$name\n$type\n";
close(INFO);
return $bin_file;
}
Original issue reported on code.google.com by [email protected]
on 20 Apr 2010 at 9:15
It would be great if you add fields to uploadForm and then those fields be
passed into IAction.
You would then be able to specify the additional information, say if the file
is to be emailed to
someone on upload.
Original issue reported on code.google.com by [email protected]
on 6 Sep 2009 at 5:14
What steps will reproduce the problem?
1. Upload a file
2. onFinish(), call IUploader.getFileName()
- What is the expected output? What do you see instead?
I would expect the file name of the file being uploaded. In some browsers,
(Firefox 3.5 on Linux) I get only the base file name. However, other
browsers (IE 8 on Windows XP), I get "C:\fakepath\{FILENAME}".
- What version of the product are you using? On what operating system?
It's reproducible on all the tested versions (0.5.1 and 0.5.3).
The client/server OS is not important, it's a browser dependent issue.
- Please provide any additional information below.
There are no points getting the local path of the file. This function
should always return the basename of the file from the client. If this
can't be fixed for some reasons, it would be very convenient to get a new
function returning the basename.
Original issue reported on code.google.com by iscy%[email protected]
on 20 Oct 2009 at 7:56
What steps will reproduce the problem?
1. How to get a file-input textbox along with 'Browse' button instead of
button 'Choose a file to upload ...'.
2. Is this functionality changed in gwtupload-0.5.8-M5?
3.
What is the expected output? What do you see instead?
A file-input textbox along with 'Browse' button
What version of the product are you using? On what operating system?
Win Xp
GWT 1.6
Please provide any additional information below.
Version gwtupload-0.5.8-M4 SingleUploader had a file-input textbox along
with 'Browse' button. Please let me know what property needs to be set to
get this. I did try to set FileInputType to BROWSE but nothing happened.
Original issue reported on code.google.com by [email protected]
on 13 Apr 2010 at 11:28
Using the example here:
http://code.google.com/p/gwtupload/wiki/GwtUpload_GettingStarted
Everything works (almost) as seen on your demo page, but only if I remove
the following line:
removeSessionFiles(request);
even if I use:
removeSessionFileItems( request );
The thumbs are not shown. I can see the thumbs ONLY if I remove this line.
The problem is, that my item list increasing and I can't remove the items,
I added before.
Do you have a fix for that?
I'm using your newest version (gwtupload-0.5.2.jar) on a WindowsXP machine
with Tomcat 6.
Original issue reported on code.google.com by [email protected]
on 23 Sep 2009 at 7:39
Hi
We use your nifty lib to upload Excel files in a custom format.
Now, there are several possible format errors we want to present to the
user, but currently gwtupload supports only one single ERROR Status.
I would propose an extra (String) field 'StatusMsg' where the client can
put some custom Error message (or Code), similar to the HTTP Protocol.
Would this be possible?
Else my coworker wants to switch to the upload control provided by ext-gwt:
http://www.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/form/FileUplo
adField.html
(But I doubt it provides the same power as gwtupload)
thx,
Laurent
Original issue reported on code.google.com by [email protected]
on 27 Nov 2009 at 10:06
feature request:
In my design, I will have 2 or more file uploader components in the same
page. when file get uploaded, at server side I need to know which component
the file is coming from.
one of the solution I think of is like this:
at client side:
SingleUploader smallImageUploader = new SingleUploader();
smallImageUploader.setFieldNamePrefix("small");
contentPanel.add(smallImageUploader);
SingleUploader bigImageUploader = new SingleUploader();
bigImageUploader.setFieldNamePrefix("big");
contentPanel.add(bigImageUploader);
at server side:
public class MyUploadAction extends UploadAction {
@Override
public String doAction(Vector<FileItem> sessionFiles)
throws IOException, ServletException {
for(FileItem fileItem: sessionFiles){
String fieldName = item.getFieldName();
if(fieldName.indexOf("small")>=0){
//the file is coming from smallImageUploader
}else if(fieldName.indexOf("big")>=0){
//the file is coming from bigImageUploader
}
}
}
}
In order to do this, the Uploader.assignNewNameToFileInput() can be changed as:
String fileNamePrefix;
private void assignNewNameToFileInput() {
String fileInputName = ("GWTCU_" + fileNamePrefix +
Math.random()).replaceAll("\\.", "");
fileInput.setName(fileInputName);
}
Original issue reported on code.google.com by [email protected]
on 11 Sep 2009 at 7:24
It's useful to have the full stack trace of the potential exception in
executeAction.
Original issue reported on code.google.com by [email protected]
on 2 May 2010 at 1:47
In Uploader.setFileInputPrefix(), the documentations points to
FileItem.getName() as a way to check the upload prefix. In real usage, you
have to call FileItem.getFieldName().
Changing the documentation to reflect this may avoid initial confusion.
Thanks!
Original issue reported on code.google.com by [email protected]
on 6 Apr 2010 at 5:46
I am not sure if this behaviour is intentional or not but by running the
demo and looking at the /tmp directory all the uploaded files are empty and
consequently later retrieval through the "getUploadedFile) results in an
empty file.
if we change the "exceuteAction..." as following the issue gets resolved.
If this is intentional, please put the code and comment it out for the
users as it took me couple hours to realize what's going on :)
{{{
...
//Create an empty file to be used to write in this file later by doGet
File file = File.createTempFile("upload-" , ".bin" , directory);
FileOutputStream fileOutputStream = new FileOutputStream(file);
copyFromInputStreamToOutputStream(fileItem.getInputStream(),
fileOutputStream);
...
}}}
Original issue reported on code.google.com by rakhshan
on 3 Apr 2010 at 11:31
Only very very minor but...
Upload a file which times out so you get the error message popup.
What is the expected output?
"Timeout sending the file:\n perhaps your browser does not send files
correctly,\n your session has expired,\n or there was a server
error.\nPlease try again."
Note perhaps not perhups.
What do you see instead?
"Timeout sending the file:\n perhups your browser does not send files
correctly,\n your session has expired,\n or there was a server
error.\nPlease try again."
What version of the product are you using? On what operating system?
Latest from trunk.
Original issue reported on code.google.com by [email protected]
on 30 Apr 2010 at 11:36
What steps will reproduce the problem?
1.Select a file to upload
2.Press the send Button
3.Nothing happens, check logs on Google App Server
What is the expected output? What do you see instead?
file to uploaded and processed. No issue when run locally. Log when
deployed to google app shows
#
220.227.77.169 - admin_mail_reception [03/Sep/2009:09:30:10 -0700] "POST
/mis_snail_mail_tracker/fileupload HTTP/1.1" 500 4624
"http://smailtracker.appspot.com/" "Mozilla/5.0 (Windows; U; Windows NT
6.0; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe)"
"smailtracker.appspot.com"
#
W 09-03 09:30AM 10.343
/mis_snail_mail_tracker/fileupload
java.lang.RuntimeException: java.io.NotSerializableException:
gwtupload.server.UploadListener
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java
:334)
at
com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(Sessio
nManager.java:314)
at
com.google.apphosting.runtime.jetty.SessionManager$AppEngineSession.save(Session
Manager.java:153)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter
.java:41)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandle
rMap.java:237)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:830)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestPa
rser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(Jet
tyServletEngineAdapter.java:139)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4823)
at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4821)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplica
tionHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359)
at com.google.net.rpc.impl.Server$2.run(Server.java:820)
at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuil
der.java:516)
at com.google.net.rpc.impl.Server.startRpc(Server.java:775)
at com.google.net.rpc.impl.Server.processRequest(Server.java:348)
at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:4
36)
at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:428)
at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:7
62)
at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
at
com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:374)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.NotSerializableException: gwtupload.server.UploadListener
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java
:331)
... 39 more
#
C 09-03 09:30AM 10.346
Uncaught exception from servlet
java.lang.RuntimeException: java.io.NotSerializableException:
gwtupload.server.UploadListener
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java
:334)
at
com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(Sessio
nManager.java:314)
at
com.google.apphosting.runtime.jetty.SessionManager$AppEngineSession.save(Session
Manager.java:153)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter
.java:41)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandle
rMap.java:237)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:830)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestPa
rser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(Jet
tyServletEngineAdapter.java:139)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4823)
at
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimePb.java:4821)
at
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplica
tionHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359)
at com.google.net.rpc.impl.Server$2.run(Server.java:820)
at
com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
at
com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuil
der.java:516)
at com.google.net.rpc.impl.Server.startRpc(Server.java:775)
at com.google.net.rpc.impl.Server.processRequest(Server.java:348)
at
com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:4
36)
at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:428)
at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:7
62)
at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
at
com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:374)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.NotSerializableException: gwtupload.server.UploadListener
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java
:331)
... 39 more
What version of the product are you using? On what operating system?
latest 0.3 on vista
Please provide any additional information below.
No issue when run locally. Problem happened when deployed and run from
Google Apps
Original issue reported on code.google.com by [email protected]
on 3 Sep 2009 at 4:53
When I upload a file in Internet Explorer 8, I get the following:
-
ExecuteUploadActionException:gwtupload.server.exceptions.UploadActionExceptio
n: The filename, directory name, or volume label syntax is incorrect
Could you please let me know what could be the issue?
Original issue reported on code.google.com by [email protected]
on 26 Feb 2010 at 12:33
Hello Manuel,
This is just an enhancement suggestion.
I really like this module, and will be using it in my project. However, the
only thing is that it doesn't support selecting multiple files.
I suppose you must be aware of the 'multiple' attribute as per
http://drupal.org/node/625958
I was wondering if you will be looking into this? and maybe do it in the
way that if the browser don't support this, it will still work as usual?
Many thanks & Kind Regards
Andy
Original issue reported on code.google.com by [email protected]
on 1 Apr 2010 at 3:01
Add i18n support. E.g. class Uploader has a lot UI messages as private
static final String fields, extract them to interface that extends Constants.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2009 at 2:33
What steps will reproduce the problem?
1. Open the following url in an IE7 browser:
http://gwtupload.alcala.org/gupld/gwtuploadsample.MultipleUploadSample/Mult
ipleUploadSample.html
2. Queue up two files for upload using any of the 3 MultiUploader examples
3. Attempt to cancel the first file upload while it is in progress (this
will sometimes fail)
4. If the first cancel succeeds, attempt to cancel the second file upload
while it is in progress (this will always fail in IE7, but I have not seen
this issue in Chrome or Firefox)
What is the expected output? What do you see instead?
I expect the upload to cancel. When the issue occurs, the UI just shows
that the job is cancelling and just hangs there. The upload never cancels
and the uploader never moves to the next upload job. I was able to
reproduce this issue while running the examples in eclipe using the google
app engine plugin. It appears that the cancel call back never makes it
back to the server, and never gets logged when this issue occurs. The
upload actually continues and completes even though the UI shows
cancelling.
What version of the product are you using? On what operating system?
I'm using the lastest GWTUpload project from the SVN repository. I'm
running Windows XP Professional SP2.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Oct 2009 at 5:08
What steps will reproduce the problem?
1.set max files as 3 and file size limit as 512kb.
2.try to upload a file which is greater than 512kb.(it pops with a error)
3.try uploading rest of the 3 files
What is the expected output? What do you see instead?
Expected all the 3 files have to be uploaded, except the error file.
Actual 2 files are uploaded
What version of the product are you using? On what operating system?
0.5.8-M4 & Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 5:49
Hi,
I'm just discovering gwtupload and I try to do the example of the getting
started guide.
- I create a gwt project and add the 3 jar nedded (gwtupload and commons).
- I add in XXX.gwt.xml file these lines :
---------------------------------------
<inherits name="gwtupload.GWTUpload"/>
<stylesheet src="Upload.css"/>
---------------------------------------
- I add in web.xml file these lines :
-------------------------------------------------------------------------
<servlet>
<servlet-name>uploadServlet</servlet-name>
<servlet-class>XXX.server.SampleUploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>uploadServlet</servlet-name>
<url-pattern>*.gupld</url-pattern>
</servlet-mapping>
-------------------------------------------------------------------------
- I get SampleUploadServlet.java file from the example of the Getting
Started guide.
I can execute my programm but when I click on "send" button I obtain the
following exception :
-------------------------------------------------------------------------
8 mars 2010 23:44:17 com.google.apphosting.utils.jetty.JettyLogger warn
ATTENTION: Nested in javax.servlet.ServletException: init:
java.lang.NoClassDefFoundError: Could not initialize class
XXX.server.SampleUploadServlet
-----------------------------------------------------------------
Is somebody have any idea for my problem?
Thanks.
Cecilia
Original issue reported on code.google.com by [email protected]
on 8 Mar 2010 at 11:51
What steps will reproduce the problem?
1. Create sample application to be hosted on google app engine, using
multiuploader.
2. Compiling and running on local system works as expected and file
uploads correctly.
3. Once deployed to google app engine, the upload has a timeout error.
What is the expected output? What do you see instead?
Expected output is to not get a timeout, and see the results of the upload
stored in the backend. Instead I receive the following error:
Timeout sending the file:
perhups your browser does not send files correctly,
your session has expired,
or there was a server error.
Please try again.
What version of the product are you using? On what operating system?
I'm using 0.5.7. Also tried with latest beta release - which gave a
different issues.
Please provide any additional information below.
Is there any special configuration that needs to be done when deploying to
google app engine? In hosted mode on my local it works fine (simulation of
google app engine). The file being uploaded is small (15 KB).
Original issue reported on code.google.com by [email protected]
on 28 Apr 2010 at 2:52
What steps will reproduce the problem?
1.launch the upload widget in simulation mode
2.load any file
the download stops but the status requests do not stop, because the
finished message is not received.
I use GwtUpload5.8, windows vista
I've got a patch that consists in adding a save() call in the method
setFinished of the class AbstractUploadListener.
As a matter of fact, in the AppEngine with cache management, the finished
boolean is not updated in the cache, so the status request from the client
never see the finished boolean to true.
Raoul
Original issue reported on code.google.com by [email protected]
on 1 May 2010 at 9:59
I think it is just a misspelling
Original issue reported on code.google.com by [email protected]
on 17 Sep 2009 at 10:26
What steps will reproduce the problem?
1. Provide the detail of the web.xml that will show the adding of the
customized servlet.
2.
3.
What is the expected output? What do you see instead?
The expected output is to upload a file to a certain destination
like "E:\Example_folder". But only thumbnails is coming to the client page
for temporary-basis.
What version of the product are you using? On what operating system?
The latest version. Windows.
Please provide any additional information below.
am facing problem in uploading... may be I have mistaken in then web.xml
file... can you please help me the part where we put the UploadServlet and
the customized sevlet...
{{{
<context-param>
<!-- max size of the upload request -->
<param-name>maxSize</param-name>
<param-value>3145728</param-value>
</context-param>
<context-param>
<!-- Useful in development mode to slow down the uploads in fast networks.
Put the number of milliseconds to sleep in each block received in the
server. false or 0, means don't use slow uploads -->
<param-name>slowUploads</param-name>
<param-value>200</param-value>
</context-param><servlet>
<servlet-name>uploadServlet</servlet-name>
<!-- put here your customized servlet extending UploadAction? -->
<servlet-class>gwtupload.server.UploadServlet?</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>uploadServlet</servlet-name>
<url-pattern>.gupld</url-pattern></servlet-mapping>
}}}
If my customized servlet name is "FileUploadActServlet" and that is under
the package "org.rongoog.server" what would should I do??? You didn't
mention that.
Original issue reported on code.google.com by [email protected]
on 18 Dec 2009 at 9:12
UploadServlet.renderXmlResponse(HttpServletRequest request,
HttpServletResponse response, String message)
set the wrong content type "text/html"
please change the line 379 from
response.setContentType("text/html");
to
response.setContentType("text/xml");
Original issue reported on code.google.com by [email protected]
on 24 Feb 2010 at 3:21
hi,
there is no progress bar showing, only 0%
do I have to use OnChangeUploaderHandler?
if so, how do we update the progress bar
by extension...
I want to change the progressbar and messages (in queue, done...)
how do I do it ?
sheers
have a nice day
Original issue reported on code.google.com by [email protected]
on 3 Oct 2009 at 3:39
Hi,
i am using your MultiUploader with exactly the same sample code as you
published. All my files are uploaded successfully. The Uploader is placed
on a closabel tab. After closing and reopen the tab, i can't upload the
same file again. I would like to reset the MultiUploader so the uploader
don't knowing anything about previus uploaded files like clicking on the
image. I need this function, because i am working with the files on server.
So i need the files only a little time after upload and then destroy them.
I have tryed the reset(), cancle() and remove() functions.
I am happy if you can help my.
Thanks from Germany,
Stefan
Original issue reported on code.google.com by [email protected]
on 14 Dec 2009 at 8:39
When uploading a file and then cancelling it is not marked as cancelled.
Line 518 of Uploader.
Cheers,
Jim
Original issue reported on code.google.com by [email protected]
on 17 Sep 2009 at 9:52
It would be great if you can provide a way to transfer custom user data the
client. Here is a proposal:
1. add an abstract method like getCustomData(HttpServletRequest) to
UploadServlet (returns a map of String to String)
which is called from UploadServlet.getUploadStatus(..) to return user's
custom data to the client.
2. Change IUploader interface and add a getData() method, returns a
Map<String, String>. This method is implemented in Uploader class., and
that map is filled in Uploader.parseAjaxResponse(). You can iterate over
all attributes in the returned XML and extract those attributes whose name
has a special prefix, say, USERATTR_something (where something is original
key of user's parameter). Then you can put those custom attribute/values in
the map and pas it to that getData() method.
This way, a user will be able to pass all kind of data from serverside to
the client (file size, entity id saved to the databse, etc.).
I wasn't able to build the project get from SVN (some dependencies where
missing) but I can change the source code and send you a patch of these
changes.
Original issue reported on code.google.com by [email protected]
on 4 May 2010 at 12:46
Hi everybody
I'm using gwtupload and a I need limit the files that the user can upload
to the server, is something like a file filer. (e.g just show .txt or .xls
files): I need also, the file keep the same type or extension that the
original file, i. e, if an user upload a xls file, this kind (xls) or file
keep the same .xls extension.
If somebody know how I can do that..... thanks a lot
Regards
Lucas Ríos Ramírez
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 3:11
Hi,
There is a wizard in my web application. At the very first step, I am using
gwtupload to upload a file and it is working as expected. But after I click
next and then come back to the first step to upload another file, then I am
getting javascript exception like this:
Uncaught Exception:
com.google.gwt.core.client.JavaScriptException: (TypeError): juc(e, zd +
wjd(a)) is null
fileName:
http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cache.html
lineNumber: 3711
stack: iqe([object Object],[object Object],0,[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:3711
qqe([object Object],0,[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:3716
bxd([object Object],[object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:2215
sme([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:3615
Fwd([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:2213
Fvd(null)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.ca
che.html:2232
hcd([object
Object],0)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.c
ache.html:1742
Avd([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:2228
gMc([object Object],[object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:704
sjd([object Object],[object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:173
zgd([object
Object],-10,50)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C
7C4.cache.html:261
hhd(-10,50)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.
cache.html:275
wne([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:3618
doe([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:3627
Fwd([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:2213
hmd([object
Object],false)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7
C4.cache.html:1838
pmd([object
Object],false)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7
C4.cache.html:1845
uwd()@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cache.
html:1896
FTe([object Object],[object Object],[object Object],[object
Object],50)@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.
cache.html:4455
zRe([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:4384
ERe([object Object],[object Array],[object Array],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:4389
AVe([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:4511
aLg([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:5929
bBf([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:5284
aBf([object Object],[object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:5283
eBf([object
Object])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cac
he.html:5286
([object
Event])@http://localhost:8888/GlobalidsWeb/7E0D83E97D2B5C4D1338C94426E3C7C4.cach
e.html:5329
What could be the problem? Can you suggest any solution?
Regards,
Amit
Original issue reported on code.google.com by [email protected]
on 26 Nov 2009 at 9:29
What steps will reproduce the problem?
1.Archivos subidos al servidor
2.Creada carpeta para subidas y establecimiento de permisos de escritura
3.Permisos sobre archivo PL de ejecución correctos.
What is the expected output? What do you see instead?
Si el fichero es corto, da como OK pero no queda subido al servidor.
Si el fichero es pesado, da timeout y queda como error
What version of the product are you using? On what operating system?
Version JSUPLOAD 0.3.0
Windows 2003 Server
Apache 2.2.12
Please provide any additional information below.
Puedes probar en http://yoban.calum.upv.es/jsupload-0.3.0/JsUpload.html
Está dejado caer
Muchas gracias.
Original issue reported on code.google.com by [email protected]
on 7 Aug 2009 at 11:51
gwtupload was compiled with java6 so it work only with java6. Would it be
possible to compile with java5 so it is possilbe to use gwtupload within a
java5 enviroment ?
Original issue reported on code.google.com by [email protected]
on 24 Jul 2009 at 8:17
What steps will reproduce the problem?
1. select a file
2. start the upload
What is the expected output? What do you see instead?
Upload completes and returns the path of the temp location/file name.
What version of the product are you using? On what operating system?
0.5.7 featured
Please provide any additional information below.
The upload was cancelled because there was an error in the server. Server's
error is: The system
cannot find the path specified
Works on some systems and others get this error:
Deployed to Tomcat 6 running on Windows 2003 R2.
Got Upload Action Exception: java.io.IOException: The system cannot find the
path specified.
&filename=GWTU-043569149380700245&c=0&random=0.7098138091065771
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 5:56
What steps will reproduce the problem?
1. try http://gwtupload.alcala.org/gupld/
gwtuploadsample.SingleUploadSample/SingleUploadSample.html in Opera 10
What is the expected output? What do you see instead?
Upload won't work...
I am using the latest gwtupload version on Windows7
Seems like the onChange() handler in Opera is not called when selecting a
file. basename will be null and the onSubmit() will therefore be
cancelled.
A workaround is to manually call the onChange() method in onSubmit() if
basename is null...
Original issue reported on code.google.com by [email protected]
on 14 Mar 2010 at 12:29
Hi,
it would be really helpfull to allow the user to cancel uploads. Maybe you
could add some methods for this ?
Original issue reported on code.google.com by [email protected]
on 11 Aug 2009 at 5:49
Releases don't seem to be tagged in the SVN repository currently, so it is not
possible to check out a specific version and build it. Would be good to tag
versions every time you do a release. Or did I miss something?
Original issue reported on code.google.com by [email protected]
on 30 Dec 2009 at 6:07
What steps will reproduce the problem?
1.set maximum files as 3 and avoidRepeatFiles as true
2.Add a file 3 times
3.
What is the expected output? What do you see instead?
Expected output : Only one file has to be uploaded and it can upload
another 2 files
Actual Result: Uploader disappears after the 3rd file(same file) is
uploaded.
What version of the product are you using? On what operating system?
I using gwtupload-0.5.7 on windows
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2010 at 8:12
I think this one is due to the finishHandler in MultiUploader line 88.
Original issue reported on code.google.com by [email protected]
on 17 Sep 2009 at 10:25
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Jul 2009 at 8:05
in a Uploader class in a method parseAjaxResponse
if (false .....
isnt a good ideia use this
;)
Original issue reported on code.google.com by [email protected]
on 27 Oct 2009 at 12:39
What steps will reproduce the problem?
1.
Use guice w/ ServletModule and do something along the lines of:
serve("/mock/api/*").with(JerseyGuiceContainer.class);
Map<String, String> uploadServletProps = new HashMap<String, String>();
if (settings != null) {
String prop = null;
if ((prop = settings.getSetting("local.max.file.size")) != null) {
uploadServletProps.put("maxSize", prop);
}
if ((prop = settings.getSetting("local.slow.uploads")) != null) {
uploadServletProps.put("slowUploads", prop);
}
}
serve("*.gupld").with(UploadServlet.class, uploadServletProps);
bind(UploadServlet.class).in(Singleton.class);
What is the expected output? What do you see instead?
I expect the servlet to pick up maxSize and slowUploads but is does not.
What version of the product are you using? On what operating system?
0.5.4, mac
Please provide any additional information below.
I think in order to solve the problem, just remove the
config.getServletContext().getInitParameter
and replace with config.getInitParameter
Original issue reported on code.google.com by [email protected]
on 29 Dec 2009 at 8:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.