else maxrows = ViewerPlugin.getDefault( ).getPluginPreferences( ) .getString( WebViewer.PREVIEW_MAXROW );
	private static String createURL( String report, Map params )	{		if ( params == null || params.isEmpty( ) )			return createURL( null, report, null, true, null, 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 ) )		{			servletName = "run"; //$NON-NLS-1$		}		else		{			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$				}			}		}		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 );	}