页面标签:
<a href="/mfs/privateMemorialMedia/toPMMDCreater?mediaId=${album.id }&memId=${obj['memId'] }">
定义的action:
@At
@Ok("jsp:/view/privateMemorial/spacePrivateDetails.jsp")
@Filters({@By(type=PrivateMemorialFilter.class)})
public Map<String, Object> toPMMDCreater(HttpSession session, @Param("..")Pager pager, @Param("memId")Long memId, @Param("mediaId")Long mediaId, @Param("go")int go) throws Exception {
Map<String, Object> obj = new HashMap<String, Object>();
//do sth
return obj;
}
但是通过通过断点发现,每次点击a标签,都会先执行这个action:
@At
@Ok("re")
@Filters({@By(type=LoginFilter.class)})
public View savePMAlbum(HttpSession session, @Param("..")PrivateMemorialMedia pmm){
//do sth
return new ServerRedirectView("/privateMemorialMedia/toPrivateMemorialMedia?memId="+pmm.getMemId());
}
很诡异啊,在chrome就没有出现这个问题,只有火狐才会出现,而且,在地址栏直接输入标签的地址:/mfs/privateMemorialMedia/toPMMDCreater?mediaId=1&memId=1也不会出现上面的问题......
各位有遇到过类似的情况么?
我再细致一点调试下看看,一脸懵逼......