I think the simplest way is to copy

org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper

to your classpath and change the

MultiPartRequestWrapper(..)

method to ignore the content.

I've put in a enhancement request in jira for a configuration item to disable Multipart request parsing - we'll see what happens.

HTH anyone in the same boat
Oz


On 16/07/2007, at 2:06 PM, Oguz Kologlu wrote:

Hi all,

I've a S1/S2 mixed application that uses a S1 action to upload files, however S2 keeps getting in the way and ripping out the uploaded data even though it is a S1 action being called.

Is there a way to disable the file upload interceptor so the S1 action can handle the upload? Or at least access the value stack from S1 to retrieve the file?

Thanks
Oz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to