Details
Description
In my web.xml file, I have this:
<context-param>
<param-name>com.icesoft.faces.uploadDirectory</param-name>
<param-value>C:\Uploads</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.uploadDirectoryAbsolute</param-name>
<param-value>true</param-value>
</context-param>
But my file upload was throwing an exception, because I realized that the UploadServlet() constructor was not checking for the com.icesoft.faces.uploadDirectoryAbsolute context param value.
In addition, the icefaces_component.tld file does not document the new "downloadFolder" attribute of the <ice:inputFile/> component.
uploadDirectoryAbsolute
<context-param>
<param-name>com.icesoft.faces.uploadDirectory</param-name>
<param-value>C:\Uploads</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.uploadDirectoryAbsolute</param-name>
<param-value>true</param-value>
</context-param>
But my file upload was throwing an exception, because I realized that the UploadServlet() constructor was not checking for the com.icesoft.faces.uploadDirectoryAbsolute context param value.
In addition, the icefaces_component.tld file does not document the new "downloadFolder" attribute of the <ice:inputFile/> component.
uploadDirectoryAbsolute
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13964 | Thu May 24 09:38:37 MDT 2007 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/UploadServlet.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/FileUploadComponent.java MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputFile-props.xml |