RE: Ajax file upload + RE: About the "struts.multipart.saveDir" for file upload

2009-06-04 Thread Qunhuan Mei
pload + RE: About the "struts.multipart.saveDir" for file upload Really, I haven't gotten that far yet, I am only working to improve the integration with Jakarta FileUpload. JFU is quite capable and mature, but I figured the first step would be to expose more functionality since there we

Re: Ajax file upload + RE: About the "struts.multipart.saveDir" for file upload

2009-06-04 Thread Wes Wannemacher
 uploadHttpData: function( r, type ) { >        var data = !type; >        data = type == "xml" || data ? r.responseXML : r.responseText; >        // If the type is "script", eval it in global context >        if ( type == "script" ) >            jQuery.gl

Ajax file upload + RE: About the "struts.multipart.saveDir" for file upload

2009-06-04 Thread Qunhuan Mei
(3.0.10), Safari (3.2.1) and Chrome (1.0.154.65), with simply no request received from the server after “jQuery(form).submit();” and no exception thrown or captured either. I reported the problem back but so far no reply (I am not a Javascript expert). Hope your ajax file upload approach will also

RE: About the "struts.multipart.saveDir" for file upload

2009-06-04 Thread Qunhuan Mei
"struts.multipart.saveDir" for file upload Qunhuan Mei wrote: > When implementing file upload, it is required to specify an absolute > directory in struts.xml such as following: > > > > But this might be difficult to achieve, say when the project war is deployed > in a exter

Re: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Dave Newton
Qunhuan Mei wrote: When implementing file upload, it is required to specify an absolute directory in struts.xml such as following: But this might be difficult to achieve, say when the project war is deployed in a external shared server and we do not have much idea about the directory structure

Re: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Wes Wannemacher
load:   > http://www.stripesframework.org/display/stripes/File+Uploads > > > > Thought you might find it interesting/useful.. > > > > Andy > > > >> Date: Wed, 3 Jun 2009 16:48:56 -0400 >> Subject: Re: About the "struts.multipart.saveDir" f

RE: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Andy
Andy > Date: Wed, 3 Jun 2009 16:48:56 -0400 > Subject: Re: About the "struts.multipart.saveDir" for file upload > From: w...@wantii.com > To: user@struts.apache.org > > I don't know if I would suggest it, but you might be able to call - > > Dispatcher.getInstance

Re: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Wes Wannemacher
. So, I've got a new JakartaMultiPartRequest class I'll have out by tomorrow. -Wes On Wed, Jun 3, 2009 at 4:37 PM, Andy wrote: > > It defaults but I think he's wondering how he can set the dir programatically. > > > >> Date: Wed, 3 Jun 2009 15:35:33 -0500 >&

RE: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Andy
It defaults but I think he's wondering how he can set the dir programatically. > Date: Wed, 3 Jun 2009 15:35:33 -0500 > Subject: Re: About the "struts.multipart.saveDir" for file upload > From: burtonrho...@gmail.com > To: user@struts.apache.org > > I wasn

Re: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Burton Rhodes
I wasn't aware that it was required. If you don't specify doesn't it default to the 'work' directory? On 6/3/09, Qunhuan Mei wrote: > > Hi, > > When implementing file upload, it is required to specify an absolute > directory in struts.xml such as following: > > /> > > But this might be diffi

About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Qunhuan Mei
Hi, When implementing file upload, it is required to specify an absolute directory in struts.xml such as following: But this might be difficult to achieve, say when the project war is deployed in a external shared server and we do not have much idea about the directory structure of the ta