private void doGetApplicationSetting() throws PageException {
	Struct sct = new StructImpl();
	pageContext.setVariable(getString("admin", action, "returnVariable"), sct);
	sct.set("scriptProtect", AppListenerUtil.translateScriptProtect(config.getScriptProtect()));

	// request timeout
	sct.set("requestTimeout", config.getRequestTimeout());
	sct.set("requestTimeout_day", Caster.toInteger(config.getRequestTimeout().getDay()));
	sct.set("requestTimeout_hour", Caster.toInteger(config.getRequestTimeout().getHour()));
	sct.set("requestTimeout_minute", Caster.toInteger(config.getRequestTimeout().getMinute()));
	sct.set("requestTimeout_second", Caster.toInteger(config.getRequestTimeout().getSecond()));

	// AllowURLRequestTimeout
	sct.set("AllowURLRequestTimeout", Caster.toBoolean(config.isAllowURLRequestTimeout()));

    }
private void doGetApplicationSetting ( ) throws PageException { Struct sct = new StructImpl ( ) ; pageContext . setVariable ( getString ( "admin" , action , "returnVariable" ) , sct ) ; sct . set ( "scriptProtect" , AppListenerUtil . translateScriptProtect ( config . getScriptProtect ( ) ) ) ; sct . set ( "requestTimeout" , config . getRequestTimeout ( ) ) ; sct . set ( "requestTimeout_day" , Caster . toInteger ( config . getRequestTimeout ( ) . getDay ( ) ) ) ; sct . set ( "requestTimeout_hour" , Caster . toInteger ( config . getRequestTimeout ( ) . getHour ( ) ) ) ; sct . set ( "requestTimeout_minute" , Caster . toInteger ( config . getRequestTimeout ( ) . getMinute ( ) ) ) ; sct . set ( "requestTimeout_second" , Caster . toInteger ( config . getRequestTimeout ( ) . getSecond ( ) ) ) ; sct . set ( "AllowURLRequestTimeout" , Caster . toBoolean ( config . isAllowURLRequestTimeout ( ) ) ) ; }
@throws PageException