Parameterize temporary files in Servlet 3.0

0

I'm doing a servlet to which a document is uploaded.

Using the Servlet 3.0 java API, I am indicating the property in web.xml :

<multipart-config>  
      <location>C:\temp</location>
</multipart-config>

But the problem arises that this route must be parameterizable by means of a property file. Is there any way to specify that route at run time?

    
asked by Dani 20.11.2018 в 15:34
source

0 answers