摘要: 一、国际化 准备资源文件,资源文件的命名格式如下: baseName_language_country.properties baseName_language.properties baseName.properties 其中baseName是资源文件的基本名,我们可以自定义,但language和 阅读全文
posted @ 2016-05-02 20:42 破玉 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 一、自定义拦截器 要自定义拦截器需要实现com.opensymphony.xwork2.interceptor.Interceptor接口: public class PermissionInterceptor implements Interceptor { private static fina 阅读全文
posted @ 2016-05-02 16:15 破玉 阅读(191) 评论(0) 推荐(0) 编辑