DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
See this page for more examples and advanced configuration
Unknown macro: {snippet}
Parameters
Unknown macro: {snippet}
Extending the Interceptor
Unknown macro: {snippet}
Examples
Example action mapping:
Unknown macro: {snippet}
Notice the interceptor configuration in the preceding example.
Example JSP form tags:
Unknown macro: {snippet}
Unknown macro: {snippet}
Example Action class:
Unknown macro: {snippet}
Setting parameters example:
<interceptor-ref name="fileUpload">
<param name="allowedTypes">
image/png,image/gif,image/jpeg
</param>
</interceptor-ref>
This part is optional and would be done in place of the <interceptor-ref name="fileUpload"/> line in the action mapping example above.
2 Comments
Peter McKeown
We should explicitly list the dependencies for those not using Maven.
They are
commons-fileupload-1.1.1.jar
commons-io-1.1.jar
These dependencies should also be in the /lib directory
Dave Newton
For completeness, these are only dependencies if you're using the default Jakarta multipart wrapper. If you're using a different multipart mechanism the dependencies will be different.