Bug 173223 Pages are lost when preview as PDF in web viewer[0002]
Pages are lost when preview as PDF in web viewer[0002] Build number: 2.2.0.v20070207-0941 Steps to reproduce: 1.open attached report design 2.preview in web viewer ,there are three pages,then click Print as PDF,there'll be only one page in PDF,but when you directly preview in PDF,there'll be three pages Expected result: 3 pages are displayed Actual result: only one page is displayed Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
*/
	public static final String PROP_BASE_URL = "base_url"; 
	/**
	 * Get bookmark. If page exists, ignore bookmark.
	 * 
	 * @param request
	 * @return the bookemark
	 */
	public static String getBookmark( HttpServletRequest request )
	{
		int page = getParameterAsInt( request, PARAM_PAGE );
		return page < 1
				? getReportParameter( request, PARAM_BOOKMARK, null )
				: null;
	}
	/**
	 * Get query string with new parameter value.
	 * 
	 * @param request
	 *            http request
	 * @param name
	 *            parameter name
	 * @param value
	 *            default parameter value
	 * @return new query string with new parameter value
	 */
	public static String getEncodedQueryString( HttpServletRequest request,
			String name, String value )
	{
		String queryString = "";