2019獨角獸企業重金招聘Python工程師標準>>>
以下均為本人工作中的筆記內容,不夠全面具體。碰到什么我就記錄什么,只是作為筆記使用,希望大家多提寶貴意見,共同進步。 |
@Action("login"):定義action //或者寫成 @Action(value = "login")
@Namespace("/customer/activity"):命名空間
@Results({@Result(name = "success", type = "redirectAction", params = {"actionName", "pwd" }),
@Result(name = "success", location="/WEB-INF/jsp/customer/login/login-index.jsp")}) 返回值
@InterceptorRef(value = "paramsPrepareParamsStack", params = {"modelDriven.refreshModelBeforeResult", "true" }) 使用攔截器
@SuppressWarnings("unused"):取消警告的(例如變量沒有用到就會有黃色警告,加上它就取消了。)
本文出自 “小浩” 博客,請務必保留此出處http://zhangchi.blog.51cto.com/5214280/1389661