Re: Inline downloading of file with Struts 1.2

2009-11-10 Thread Daniele Development-ML
nks, Dan On Tue, Nov 3, 2009 at 2:25 PM, Mike Baranski < list-subscripti...@secmgmt.com> wrote: > > > >-Original Message- > >From: Daniele Development-ML [mailto:daniele@googlemail.com] > >Sent: Tuesday, November 03, 2009 8:58 AM > >To: Struts U

Re: Inline downloading of file with Struts 1.2

2009-11-03 Thread Daniele Development-ML
within the browser window. Any suggestion/help, much appreciated! Dan On Fri, Oct 30, 2009 at 7:25 PM, Daniele Development-ML < daniele@googlemail.com> wrote: > Hello, > > I'm coding a Struts 1.2 action to download file available on the server. I > need to send bac

Inline downloading of file with Struts 1.2

2009-10-30 Thread Daniele Development-ML
Hello, I'm coding a Struts 1.2 action to download file available on the server. I need to send back the file as inline so that the browser will process it within the same window. the relevant code is : response.setContentType("application/java-archive"); response.setHeader("Content-disposition",

Re: Uploading large files

2009-08-05 Thread Daniele Development-ML
d > > in this way for Struts 1. > > > > I would like to understand this situation better and I was wondering > whether > > any of you knows more or can provide some pointers to docs online - I > cannot > > find anything very specific on this aspect. > > &

Re: Uploading large files

2009-08-05 Thread Daniele Development-ML
ituation better and I was wondering whether any of you knows more or can provide some pointers to docs online - I cannot find anything very specific on this aspect. Many thanks! Dan On Tue, Jul 14, 2009 at 2:55 PM, Dale Newfield wrote: > Daniele Development-ML wrote: > >> 3. Went

Re: Uploading large files

2009-07-14 Thread Daniele Development-ML
Hello, my process in getting to this was 1. looking for some API to stream upload/download data directly into the HD, 2. found the Common File Upload API, 3. Went to the FAQ section to see how I could integrate in my Struts application ( http://commons.apache.org/fileupload/faq.html ), and read the

Streaming uploading and downloading of big files with Struts, using Common File Upload API

2009-07-13 Thread Daniele Development-ML
Hello, I'm trying to understand how to use the Streaming API of the Apache File Upload Common libraries in conjunction with Struts. I need this as some files I need to allow the uploading/download are rather big and should be stored in memory. What I understood is that I need to define a multipart

Uploading large files

2009-07-13 Thread Daniele Development-ML
Hello, I am developing a web application that needs to allow uploading of file of sizes ranging 200Mb - 1 GB. Currently, I'm doing this with the FileUploadAction, which however loads the entire file in memory - as I understood I remember once I came across another possible solution, which allows t

Reiterate action invocation in Download Action class

2009-07-06 Thread Daniele Development-ML
Hello everybody, I have a Strut servlet that retrieve some data from a local database and return the data to the invoking browser. The problem I have is that the action is invoked four times and - I find the in the db four downloading logs rather just one (the action logs also the activities). Aft

Struts Download Action - renaming download file

2008-11-05 Thread Daniele Development-ML
Hello everybody, I have implemented a DownloadAction to control the access and to download some files in my web application. The problem I am having is that when I try to download any of those file, operation which is done through the above action, I get as download file name the name of the action

Re: Problem with mapping Struts action on complex URLs

2008-10-07 Thread Daniele Development-ML
The segment of the Struts config is: I'll give a look at Antonio's pointer too. Thanks, Dan On Tue, Oct 7, 2008 at 6:27 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Tue, 10/7/08, Daniele Development

Problem with mapping Struts action on complex URLs

2008-10-07 Thread Daniele Development-ML
Hello everybody, I am changing the URL action mapping from a simple one (1) "/" to a more complex "//" (2) but when I am navigating the web site, I got the following exception. It is very peculiar since it works fine when the URL is simple (case 1). Indeed, beside any possible missing reference (I

Problem with input attribute - the action doesn't progress

2008-09-24 Thread Daniele Development-ML
Hello everybody, I have a problem with configuring an action mapping. The related Struts-config.xml chunk is: The input form beans are all declared: The problem is that when from the URL /insertAuthor I access to the url /showInsertedAuthor, Tomcat indeed access to the new URL but