摘要: 先给上struts.xml代码: {1}_{2}.jsp User_toLogin.jsp 第一种传参方式:import com.opensymphony.xwork2.ActionSupport;/** * 方式一:直接在action中写属性,然后写set、get方法 * 1.在Act... 阅读全文
posted @ 2016-01-14 16:57 AbrahamBill 阅读(323) 评论(0) 推荐(0) 编辑
摘要: commodityList.jsp第一步:创建名为"ajax" 的JavaWeb项目。第二步:加入struts2的jar包,这里需要四个包freemarker.jarognl.jarstruts2-core.jarcommons-fileupload.jarcommons-io.jarxwork-c... 阅读全文
posted @ 2016-01-14 13:13 AbrahamBill 阅读(4044) 评论(0) 推荐(0) 编辑