struts2.0一些重要的拦截器总结

            <interceptor-stack name="defaultStack">
                
<interceptor-ref name="exception"/>
                
<interceptor-ref name="alias"/>
                
<interceptor-ref name="servletConfig"/>
                
<interceptor-ref name="prepare"/>
                
<interceptor-ref name="i18n"/>
                
<interceptor-ref name="chain"/>
                
<interceptor-ref name="debugging"/>
                
<interceptor-ref name="profiling"/>
                
<interceptor-ref name="scopedModelDriven"/>
                
<interceptor-ref name="modelDriven"/>
                
<interceptor-ref name="fileUpload"/>
                
<interceptor-ref name="checkbox"/>
                
<interceptor-ref name="staticParams"/>
                
<interceptor-ref name="params">
                  
<param name="excludeParams">dojo..*</param>
                
</interceptor-ref>
                
<interceptor-ref name="conversionError"/>
                
<interceptor-ref name="validation">
                    
<param name="excludeMethods">input,back,cancel,browse</param>
                
</interceptor-ref>
                
<interceptor-ref name="workflow">
                    
<param name="excludeMethods">input,back,cancel,browse</param>
                
</interceptor-ref>
            
</interceptor-stack>

阅读全文 »

标签:, , ,


struts2的多国语言实现最佳实践

在struts2 中的Localization这章中,讲述了很多实现多国语言的方法,我在使用中也感觉到了struts给我们带来的巨大便利,我这里选择一种较为复杂,也非常实用的一种实践办法。 阅读全文 »

标签:, , , ,