![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts学习篇
mona789
简单纯粹
展开
-
struts2自学中“小越坑"之struts.xml代码自动提示
一、找到struts-2.3.dtd文件,并存储在确定存储位置。二、选择工具栏里的window按钮,选中下拉小窗的最下面一项preference。三、由上步骤自动弹出preference窗口,在左侧搜索栏检索xml catalog。四、在右侧窗体中选中user specified entries,再点击add按钮,弹出新窗口五、完成该页面的待填写内容如上图。1)选择file system按钮,选中...原创 2018-02-13 14:54:39 · 284 阅读 · 0 评论 -
struts2自学中“小越坑------之 前台向后台传参数
前台代码:前台效果:后台代码:有上代码可看到,LoginAction类继承和实现com.opensymphony.xwork2.ActionSupport,并在LoginAction中声明两个私有String类型变量username和password(前端input控件的name属性值),并写上对应参数的setter和getter帮助ActionSupport类获取...原创 2018-02-13 16:31:52 · 182 阅读 · 0 评论