How to manipulate paths in a dynamic way
<p>Currently my application using this path for taking images:</p>

<blockquote>
  <p>D:\Workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\webapps\patternImages</p>
</blockquote>

<p>So inside of this folder might be n number of folders may contains n number folders and inside of the folders it may contain n number of images,
I need to get all the image names.</p>

<p>In this case there are 2 scenario we go for usually getting image path  </p>

<ol>
<li>Using the static string path to get the image names</li>
<li>Using <code>system.getproperty()</code></li>
</ol>

<p>But I need more dynamic way of approach:</p>

<p>By this "patternImages" folder can be placed anywhere in the web and I should have to get all the folders name and image names without any issue and also should know which folder contains which image?  any way?</p>
