摘要: struts2的动态方法调用的方式: 1、第一种方式:设置method属性 在Action类中定义一个签名与execute方法相同、只是名字不同的方法,如定义为: public String login() throws Exception{} 然后在struts.xml文件中加一个<action> 阅读全文
posted @ 2018-01-18 11:00 上海-chp-java 阅读(357) 评论(0) 推荐(0) 编辑