struts2 Action中的值如何传入JSP页面

2025-12-18 05:59:32
推荐回答(1个)
回答1:

比如在Action 定义一个 String a = "aaa"; 然后有a的get/set方法 就可以直接在页面通过${a} 显示出aaa;