SSH框架註解開發

struts2的註解 Struts2:替換掉struts.xml文件 在Action類的上面放上: 替換掉struts.xml裏面的namespace: @Namespace("") 例如:namespace: @Namespace("/test") 在namespace下面放上@ParentPackage("struts-default") 指定父包 在程序要執行的方法上或者execute()方
相關文章
相關標籤/搜索