jodd-madvoc/src/main/java/jodd/madvoc/Madvoc.java
protected WebApp createWebApplication() {
		if ((webAppClassName == null) && (webAppClass == null)) {
			return new WebApp();
		}

		final WebApp webApp;
		try {
			if (webAppClassName != null) {
				webAppClass = ClassLoaderUtil.loadClass(webAppClassName);
			}
			webApp = (WebApp) ClassUtil.newInstance(webAppClass);
		}
		catch (Exception ex) {
			throw new MadvocException("Unable to load Madvoc web application class: " + webAppClassName, ex);
		}

		return webApp;
	}
protected WebApp createWebApplication() {
		if ((webAppClassName == null) && (webAppClass == null)) {
			return new WebApp();
		}

		final WebApp webApp;
		try {
			if (webAppClassName != null) {
				webAppClass = ClassLoaderUtil.loadClass(webAppClassName);
			}
			webApp = (WebApp) ClassUtil.newInstance(webAppClass);
		}
		catch (Exception ex) {
			throw new MadvocException("Unable to load Madvoc web application class: " + webAppClassName, ex);
		}

		return webApp;
	}
protected WebApp createWebApplication ( ) { if ( ( webAppClassName == null ) && ( webAppClass == null ) ) { return new WebApp ( ) ; } final WebApp webApp ; try { if ( webAppClassName != null ) { webAppClass = ClassLoaderUtil . loadClass ( webAppClassName ) ; } webApp = ( WebApp ) ClassUtil . newInstance ( webAppClass ) ; } catch ( Exception ex ) { throw new MadvocException ( "Unable to load Madvoc web application class: " + webAppClassName , ex ) ; } return webApp ; }
Creates {@link WebApp}.
Creates {