title: Apache Tiles + White spaces in folder path
body: <p>I'm currently working on a project involving Apache Tiles, but ran into the following problem. <br />The project folder has (a or multiple) white space(s) in the path name.</p>
  
  <pre><code>C:\Users\MyUsername\Documents\Dropbox\Subfolder\My Projects\GymApp
  </code></pre>
  
  <p>Now, to my surprise, when I use Apache Tiles it tries to load the <code>tile-definition.xml</code> from the following location:</p>
  
  <pre><code>C:\Users\MyUsername\Documents\Dropbox\Subfolder\My%20Projects\GymApp\src\main\webapp\WEB-INF\configurations\tile-definition.xml
  </code></pre>
  
  <p>So the problem lies in the part where tool X tries to convert all white spaces to %20 (URL encoding), where tool X being: Windows, Java, Tomcat, Spring or Apache Tiles. Because of this Apache Tiles cannot load the file, since the file does not exist (if I try to open the URL in Windows explorer it gives me the error that the file does not exist, same thing shows up in the console log of my IDE).</p>
  
  <p>As for my question, is it possible to have an Apache Tiles project running in a folder which contains white spaces? If so, how is this done?</p>
  
  <p>Note*: If I change the folder name of <code>My Projects</code> to <code>My_Projects</code> the project runs without any errors, so I know that the folder path is at fault here.</p>
  
  <p>-- Edit --<br/>
  I use this code to configure the <code>tilesConfigurer</code></p>
  
  <pre><code>&lt;bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt;
      &lt;property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles3.TilesConfigurer"&gt;
      &lt;property name="definitions" value="/WEB-INF/configurations/tiles.xml" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>-- Edit 2 --<br />
  This is what my IDE log shows:</p>
  
  <pre><code>DEBUG BaseLocaleUrlDefinitionDAO:154 - File Resource file:/C:/Users/MyUsername/Documents/Dropbox/Subfolder/My%20Projects/GymApp/src/main/webapp/WEB-INF/configurations/tiles.xml at file:/C:/Users/MyUsername/Documents/Dropbox/Subfolder/My%20Projects/GymApp/src/main/webapp/WEB-INF/configurations/tiles.xml not found, continue
  DEBUG BaseLocaleUrlDefinitionDAO:154 - File Resource file:/C:/Users/MyUsername/Documents/Dropbox/Subfolder/My%20Projects/GymApp/src/main/webapp/WEB-INF/configurations/tiles_en.xml at file:/C:/Users/MyUsername/Documents/Dropbox/Subfolder/My%20Projects/GymApp/src/main/webapp/WEB-INF/configurations/tiles_en.xml not found, continue
  DEBUG TestDispatcherServlet:938 - Could not complete request
  javax.servlet.ServletException: Could not resolve view with name 'home' in servlet with name ''
  </code></pre>