return createURL( servletName, report, format, true, resourceFolder );
String maxrows = null; if ( params.get( MAX_ROWS_KEY ) != null ) maxrows = (String) params.get( MAX_ROWS_KEY );  return createURL( servletName, report, format, true, resourceFolder, maxrows );
	private static String createURL( String report, Map params )	{		if ( params == null || params.isEmpty( ) )			return createURL( null, report, null, true, null );		String servletName = (String) params.get( SERVLET_NAME_KEY );		String format = (String) params.get( FORMAT_KEY );		String resourceFolder = (String) params.get( RESOURCE_FOLDER_KEY );		Boolean allowPage = (Boolean) params.get( ALLOW_PAGE_KEY );		if ( PDF.equalsIgnoreCase( format ) )		{			return createURL( "run", report, format, true, resourceFolder ); //$NON-NLS-1$		}		if ( servletName == null || servletName.trim( ).length( ) <= 0 )		{			if ( allowPage == null )				servletName = "frameset"; //$NON-NLS-1$			else			{				servletName = allowPage.booleanValue( ) ? "frameset" : "run"; //$NON-NLS-1$ //$NON-NLS-2$			}		}		return createURL( servletName, report, format, true, resourceFolder );	}