Re: problem in file upload

2008-04-09 Thread Martin Gainty
l 09, 2008 1:59 PM Subject: Re: problem in file upload > Hi Jeromy, > > Thanks for the help. I tried to do the same thing with an xml file. > Instead of using failed.jsp, I returned an xml file failed.xml with some > hard coded error message and error code. > > What if the fi

Re: problem in file upload

2008-04-09 Thread Rajeev Sharma
Hi Jeromy, Thanks for the help. I tried to do the same thing with an xml file. Instead of using failed.jsp, I returned an xml file failed.xml with some hard coded error message and error code. What if the file upload interceptor returned "input" for some other reason? I would be returning the err

Re: problem in file upload

2008-04-09 Thread Jeromy Evans
Rajeev Sharma wrote: When I try to upload a file which is bigger then the max allowed size, the file upload interceptor returns "input" and the control does not come to the execute method of my action class. In this case I can redirect the result to some JSP, to some other action etc, but how do

problem in file upload

2008-04-08 Thread Rajeev Sharma
Hi All, I am using file upload interceptor to upload a file. I am returning XML response (using result type as "stream") to the caller in case of success or failure. Its all fine, if everything works as expected. When I try to upload a file which is bigger then the max allowed size, the file uplo