resourcePath = url.getFile( );
if ( url != null ) resourcePath = url.getFile( );
	public static String getRealPath( ServletContext context, String path )	{		// Get real path		String resourcePath = context.getRealPath( path );		// If null, use getResource method to get path		if ( resourcePath == null )		{			try			{				URL url = context.getResource( path );				resourcePath = url.getFile( );			}			catch ( Exception e )			{			}		}		return resourcePath;	}