
|
If you were logged in you would be able to see more operations.
|
|
|
|
Ripped from my blog...
Discouragingly, the documentation around hasn't been updated to explain the new FileUploadInterceptor (which conceptually rawks BTW) to detail the proper way to configure the xwork.xml file. I found that you need both the "defaultStack" interceptor stack proceeded by the new "fileUpload" interceptor. Ideally I would think the webwork-defaults.xml file should define something like:
<interceptor-stack name="fileUploadStack">
<interceptor-ref name="fileUpload">
<interceptor-ref name="defaultStack">
</interceptor-stack>>
then all you would need is to include the reference to the fileUploadStack with the appropiate action definition. Of course, I'm sure there are reasons not to include this in the defaults.
|
|
Description
|
Ripped from my blog...
Discouragingly, the documentation around hasn't been updated to explain the new FileUploadInterceptor (which conceptually rawks BTW) to detail the proper way to configure the xwork.xml file. I found that you need both the "defaultStack" interceptor stack proceeded by the new "fileUpload" interceptor. Ideally I would think the webwork-defaults.xml file should define something like:
<interceptor-stack name="fileUploadStack">
<interceptor-ref name="fileUpload">
<interceptor-ref name="defaultStack">
</interceptor-stack>>
then all you would need is to include the reference to the fileUploadStack with the appropiate action definition. Of course, I'm sure there are reasons not to include this in the defaults. |
Show » |
|