81,122
社区成员




<welcome-file-list>
<welcome-file>index.action</welcome-file>
</welcome-file-list>
<package name="mainindex" extends="basePackage" namespace="/">
<interceptors>
<interceptor name="trimInterceptor" class="com.edps.common.TrimInterceptor"/>
<interceptor-stack name="rootStack">
<!-- trim拦截器 -->
<interceptor-ref name="trimInterceptor"/>
<interceptor-ref name="baseStack"/>
</interceptor-stack>
</interceptors>
<!-- 配置默认拦截器栈 -->
<default-interceptor-ref name="rootStack"/>
<global-results>
<result name="login" type="redirect">/auth!chkin.action</result>
<result name="error" type="freemarker">/WEB-INF/template/basicdata/error.ftl</result>
<result name="success" type="freemarker">/WEB-INF/template/basicdata/success.ftl</result>
</global-results>
<action name="index">
<result name="success">system/lightblue1_accordion/main_index.jsp</result>
</action>
<action name="auth" class="com.edps.action.AuthAction" method="chkin">
<result name="in">system/login/index.jsp</result>
<result name="success">system/lightblue1_accordion/main.jsp</result>
</action>
</package>
public class AuthAction extends BaseAction {
.....
public String chkin(){
return "in";
}
public String login(){
return SUCCESS;
}
}