Bug 212701 Fail to render reportlet in birt:report with div container[0603]
Description: Fail to render reportlet when set container to div in report tab. Build number:2.3.0.v20071212 Steps to reproduce: 1. Deploy birt or create new birt web project. 2. preview attached jsp file. Expected result: Display chart reportlet only. Actual result: Display all report content out. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
public static String getBaseURL( )
	{
		String baseURL = getInitProp( PROP_BASE_URL );
		if ( baseURL != null && baseURL.length( ) > 0 )
		{
			if ( baseURL.endsWith( "/" ) ) 
				baseURL = baseURL.substring( 0, baseURL.length( ) - 1 );
		}
		return baseURL;
	}
	/**
	 * convert path from System Properties Definition. For example:
	 * ${java.io.tmpdir}
	 * 
	 * @param path
	 * @return
	 */
	protected static String convertSystemPath( String path )
	{
		if ( path == null )
			return path;
		
		Pattern p = Pattern.compile( "\\$\\s*\\{([^\\}]*)\\}\\s*(.*)", 
				Pattern.CASE_INSENSITIVE );
		Matcher m = p.matcher( path );
		if ( m.find( ) )
		{
			String sysPath = DataUtil.trimSepEnd( System.getProperty( m.group(
					1 ).trim( ) ) );
			if ( sysPath.length( ) <= 0 )