![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts
LVM_23
这个作者很懒,什么都没留下…
展开
-
补回之前学struts2的笔记
Struts开发步骤: 1.导入strutsjar包到lib 2.在web.xml里面配置 xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.co原创 2016-11-27 21:18:45 · 418 阅读 · 0 评论 -
strust 奇怪报错
No result defined for action 在开发中总遇到这个问题,但一直不知是何因,今天在同事的博客里看到才明白其因: No result defined for action: 原因:Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到input的Result,不能够把错误返回,所以报这种错误。 解决方法: 1.在页转载 2017-04-30 16:45:06 · 201 阅读 · 0 评论 -
Struts2配置RESULT中TYPE的参数说明
chain 用来处理Action链,被跳转的action中仍能获取上个页面的值,如request信息。 com.opensymphony.xwork2.ActionChainResult dispatcher 用来转向页面,通常处理JSP org.apache.str转载 2017-05-07 23:04:01 · 375 阅读 · 0 评论