Re: gmail like file attachment

2012-05-14 Thread Maurizio Cucchiara
You need to combine Struts features with an ajax-oriented library (take a look at jquery file upload [1]) [1] http://blueimp.github.com/jQuery-File-Upload/ Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 14/mag/2012 23.46, "swarnim" ha scritto: > I

Re: gmail like file attachment

2012-05-14 Thread vEnkaTa mohAna rAo SriperumbUdUru
http://struts.apache.org/2.3.3/docs/file-upload.html On Mon, May 14, 2012 at 3:31 PM, swarnim wrote: > I want to upload multiple file contents to The server. The file will be > copied to the server and then it's path will be updated in the database. > How > to do it? > > -- > View this message i

Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor

2012-05-14 Thread Miguel Almeida
Following up on your suggestion, Lukasz: is concurrency an issue even if you scope the interceptor itself as prototype (or request) ? I was under the impression you could scope the interceptors like this (removing concurrency issues), but actually the previous issue makes me wonder if they're

gmail like file attachment

2012-05-14 Thread swarnim
I want to upload multiple file contents to The server. The file will be copied to the server and then it's path will be updated in the database. How to do it? -- View this message in context: http://struts.1045723.n5.nabble.com/gmail-like-file-attachment-tp5708815.html Sent from the Struts - User

Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor

2012-05-14 Thread Łukasz Lenart
I think it's better to repackage what you need and pass as a context variables instead inject session aware beans. It can produce concurrency issues. Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/

Re: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Łukasz Lenart
You can try to use Jetty as an embedded server, take a look on BasePortletTest in Portlet Plugin Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ ---

Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor

2012-05-14 Thread wild_oscar
Hi, I've got the exact same problem as this user. Injecting either request or session scoped beans in an interceptor yields the error "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.diagnosticContext': Scope 'session' is not active for the cur

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
Hi Steve, On Mon, 2012-05-14 at 11:09 +0100, Steve Higham wrote: > Hi Miguel, > > I haven't used the StrutsSpringTestCase however I have made use of the > StrutsTestCase. > > This only tests the interceptor stack / Action / Result. There is no web > server involved and no attempt to render t

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Steve Higham
Hi Miguel, I haven't used the StrutsSpringTestCase however I have made use of the StrutsTestCase. This only tests the interceptor stack / Action / Result. There is no web server involved and no attempt to render the resulting page. Therefore I would be surprised if anything from web.xml is cal

Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
Dear all, I am using StrutsSpringTestCase (which extends StrutsTestCase) to perform some acceptance tests (under the skin). I am also using Displaytag (www.displaytag.org/1.2/ ) to build some tables in the view. This tag supports excel/pdf export, which uses a filter you configure in web.xml [1]