title: How do I set javax.servlet.context.tempdir in Tomcat?
body: <p>More specifically, I'm using Tomcat 5.5. I've been searching online for a while and haven't found anything that actually tells me which file I have to update and how. How do I change the default for all applications, and how do I override that for individual applications?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I do not want to do it in the code. I want it to be set in the container.</p>
  
  <p>I think I have to modify $CATALINA_HOME/conf/context.xml, but I don't know how.</p>