年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- javashop
- sam123456gz
- zysnba
- tanling8334
- arpenker
- kaizi1992
- xpenxpen
- lemonhandsome
- xiangjie88
- ganxueyun
- xyuma
- wangchen.ily
- Xeden
- jh108020
- zhanjia
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- ajinn
- daizj
- wjianwei666
- ranbuijj
- 喧嚣求静
- silverend
- sichunli_030
- kingwell.leng
- lchb139128
- kristy_yy
- lich0079
- jveqi
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- lxguy
- zhangjijun
最新文章列表
使用chain方式,在第二action中获取第一个action中actionMessage
为什么采用chain 方式时,没有复制Errors, Field errors and Message?
struts.xml中配置如下:
<struts>
<constant name="struts.devMode" value="true" />
<package name="default&q ...
Struts2中ActionError与ActionMessage的互转,解决不同action不同页面的跳转问题
在工作中碰到一个action跳转的问题:
在Test1Action中有如下result
@Result(name="SUCCESS",location="test2",type="chain")
在Test1Action 的a1方法中有 this.addActionError
如果不做处理,在跳转 ...