0 Replies Latest reply on Apr 15, 2010 11:51 AM by ccaspanello

    fileUpload - Change default temp location.

    ccaspanello

      Hey guys,

       

      In using the fileUpload widget we are running into memory issues for large files (as others have mentioned on this forum).  The solution is to change the createTempFile property in the web.xml to "true".  The default temp directory; as mentioned, in the devlopers guide is operating system dependant (ie,  C:/Program Files/>>user<</Local Files/TEMP for a windows operating system).  My question is . . . is there a way to change this default directory to a different location?  I'm thinking there might be a way using classpaths or JBoss startup properties; I'm just not sure where to look.

       

      Thanks,

      Chris