title: Register new mime-type in ColdFusion (Java)
body: <p>My users are going to be uploading files with a .EXP extension. In ColdFusion on Windows 2003 I'm using getPageContext().getServletContext().getMimeType() to make sure that the file that they upload is of the correct mime-type, which will be text/plain. The issue I'm having is that no matter where I register the mime-type on the server, getPageContext().getServletContext().getMimeType() will return blank since it doesn't know about the .EXP file extension. What is the trick to get ColdFusion to see this file extension.</p>