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 final String htmlDecode( String s )
	{
		if ( s == null )
			return null;
		String sHtmlDecoded = s.replaceAll( "&#09;", "\t" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "<br>", "\n" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#13;", "\r" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#32;", " " );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#34;", "\"" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#39;", "'" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#60;", "<" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#62;", ">" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#96;", "`" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#38;", "&" );
		return sHtmlDecoded;
	}
	/**
	 * Initial the parameters class. Web.xml is in UTF-8 format. No need to do
	 * encoding convertion.
	 * 
	 * @param config
	 *            Servlet configuration
	 */
	public synchronized static void initParameters( ServletConfig config )
	{
		if ( !isInitContext )
		{
			ParameterAccessor.initParameters( config.getServletContext( ) );
		}