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
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import java.util.PropertyResourceBundle;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.apache.axis.AxisFault;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.context.BaseAttributeBean;
import org.eclipse.birt.report.resource.BirtResources;
import org.eclipse.birt.report.resource.ResourceConstants;
/**
 * Utilites class for all types of URl related operatnios.
 * <p>
 */
public class ParameterAccessor
{