private void doGetScope() throws PageException {
String sessionType=config.getSessionType()==Config.SESSION_TYPE_J2EE?"j2ee":"cfml";
String localMode=AppListenerUtil.toLocalMode(config.getLocalMode(),"classic");
Struct sct=new StructImpl();
pageContext.setVariable(getString("admin",action,"returnVariable"),sct);
sct.set("allowImplicidQueryCall",Caster.toBoolean(config.allowImplicidQueryCall()));
sct.set("mergeFormAndUrl",Caster.toBoolean(config.mergeFormAndURL()));
sct.set("sessiontype",sessionType);
sct.set("localmode",localMode);
sct.set("sessionManagement",Caster.toBoolean(config.isSessionManagement()));
sct.set("clientManagement",Caster.toBoolean(config.isClientManagement()));
sct.set("domainCookies",Caster.toBoolean(config.isDomainCookies()));
sct.set("clientCookies",Caster.toBoolean(config.isClientCookies()));
sct.set("clientStorage",config.getClientStorage());
sct.set("sessionStorage",config.getSessionStorage());
TimeSpan ts=config.getSessionTimeout();
sct.set("sessionTimeout",ts);
sct.set("sessionTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("sessionTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("sessionTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("sessionTimeout_second",Caster.toInteger(ts.getSecond()));
ts=config.getApplicationTimeout();
sct.set("applicationTimeout",ts);
sct.set("applicationTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("applicationTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("applicationTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("applicationTimeout_second",Caster.toInteger(ts.getSecond()));
ts=config.getClientTimeout();
sct.set("clientTimeout",ts);
sct.set("clientTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("clientTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("clientTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("clientTimeout_second",Caster.toInteger(ts.getSecond()));
// scope cascading type
if(config.getScopeCascadingType()==Config.SCOPE_STRICT) sct.set("scopeCascadingType","strict");
else if(config.getScopeCascadingType()==Config.SCOPE_SMALL) sct.set("scopeCascadingType","small");
else if(config.getScopeCascadingType()==Config.SCOPE_STANDARD) sct.set("scopeCascadingType","standard");
}