@@ -0,0 +1,1270 @@
+package io.github.simonxianyu.util.spring.web;%0A%0Aimport org.springframework.beans.factory.InitializingBean;%0A%0A/**%0A * abstract class%0A * Created by Simon Xianyu on 2015/9/18 0018.%0A */%0Aabstract public class AbstractWebConfig implements InitializingBean %7B%0A  /** This property is used to check whether resource is in package.*/%0A  protected boolean local=false;%0A  protected String localFlag;%0A  protected String extResUrl;%0A  protected String casUrl;%0A  protected String serverUrl;%0A  %0A  @Override%0A  public void afterPropertiesSet() throws Exception %7B%0A    local = Boolean.parseBoolean(localFlag);%0A  %7D%0A%0A  public boolean isLocal() %7B%0A    return local;%0A  %7D%0A%0A  public void setLocal(boolean local) %7B%0A    this.local = local;%0A  %7D%0A%0A  public String getLocalFlag() %7B%0A    return localFlag;%0A  %7D%0A%0A  public void setLocalFlag(String localFlag) %7B%0A    this.localFlag = localFlag;%0A  %7D%0A%0A  public String getExtResUrl() %7B%0A    return extResUrl;%0A  %7D%0A%0A  public void setExtResUrl(String extResUrl) %7B%0A    this.extResUrl = extResUrl;%0A  %7D%0A%0A  public String getCasUrl() %7B%0A    return casUrl;%0A  %7D%0A%0A  public void setCasUrl(String casUrl) %7B%0A    this.casUrl = casUrl;%0A  %7D%0A%0A  public String getServerUrl() %7B%0A    return serverUrl;%0A  %7D%0A%0A  public void setServerUrl(String serverUrl) %7B%0A    this.serverUrl = serverUrl;%0A  %7D%0A%7D%0A

add basic class