husted 2004/01/08 08:23:04 Added: web/examples/WEB-INF/upload struts-config.xml Log: Struts configuration for upload module. Revision Changes Path 1.1 jakarta-struts/web/examples/WEB-INF/upload/struts-config.xml Index: struts-config.xml =================================================================== <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE struts-config SYSTEM "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"> <struts-config> <form-beans> <form-bean name="uploadForm" type="org.apache.struts.webapp.upload.UploadForm" /> </form-beans> <action-mappings> <action path="/upload" forward="/upload.jsp" /> <!-- Upload Action --> <action path="/upload-submit" type="org.apache.struts.webapp.upload.UploadAction" name="uploadForm" scope="request" input="/upload.jsp"> <forward name="display" path="/display.jsp" /> </action> </action-mappings> <!-- This is where you set the maximum file size for your file uploads. -1 is an unlimited size. If you don't specify this here, it defaults to -1. --> <controller maxFileSize="2M" /> </struts-config>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
