Bug 176681 Issue about creating context-parameter path in read-only path[0601]
Description: Issue about creating context-parameter path in read-only path Build number:2.2.0.v20070308 Steps to reproduce: 1. Deploy birt. 2. Set BIRT_VIEWER_DOCUMENT_FOLDER/BIRT_VIEWER_IMAGE_DIR/.. to a read-only path. 3. Preview report. Expected result: Because the path is read-only, folders should be created in ${java.io.tmpdir} Actual result: No folders are created in ${java.io.tmpdir} and reports cannot be previewed in frameset mode.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
public static Set getParameterValues( HttpServletRequest request,
			String parameterName )
	{
		return getParameterValues( request, parameterName, true );
	}
	/**
	 * Get report file name. If passed file path is null, get report file from
	 * request.
	 * 
	 * @param request
	 * @param filePath
	 * @return report file
	 */
	public static String getReport( HttpServletRequest request, String filePath )
	{
		if ( filePath == null )
			filePath = DataUtil
					.trimString( getParameter( request, PARAM_REPORT ) );
		
		if ( !isRelativePath( filePath ) )
			return filePath;
		
		if ( isRelativePath( workingFolder ) )
		{
			filePath = getRealPath( workingFolder + "/" + filePath, request 
					.getSession( ).getServletContext( ) );
		}
		else
		{
			filePath = workingFolder + File.separator + filePath;