url = new URL( urlLeadingString + folder + fileName );
String realPath = context.getRealPath(folder + fileName); if (realPath == null) { url = context.getResource(folder + fileName); log.log(Level.FINE, "getResource({0}, {1}) returns {2}", new Object[]{ folder , fileName, realPath}); } else { url = new File(realPath).toURL(); log.log(Level.FINE, "getRealPath({0}, {1}) returns {2}", new Object[]{folder , fileName, realPath}); }
	public URL getURL( String folder, String fileName ) 	{				URL url = null;		try 		{			url = new URL( urlLeadingString + folder + fileName );		} 		catch (MalformedURLException e) 		{			// TODO Auto-generated catch block			e.printStackTrace();		}		return url;	}