veronica velastiqui

Greenhorn
+ Follow
since Oct 31, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by veronica velastiqui

Hello:
Ok for me.

<struts>
....
   <constant name="overrideExcludedPatterns" value="autitoazul"/>
...
</struts>


Shruti Verma wrote:Hello,

I have a struts2 application, where in I do not want the file upload interceptor that is part of the default stack to run. I have tried doing this in multiple ways but looks like it is not getting disabled. Here is my struts.xml. Can someone please explain how to override the default interceptor stack so that I can remove/disable fileupload that is done by framework.

(I do understand that framework provides the feature for convenience but my situation is such that I need to ignore framework fileupload.)

I have set "struts.multipart.maxSize" = 0 so that even if FileUploadInterceptor is being called, it will not upload the file and I see an error in the log file for max file size exceeded. But my question is this constant should not be used at all. FileUploadInterceptor should not be called in the stack as I have removed it.


Thanks.

7 years ago