|
如题,请问在j文件里面是不是必须得获取到sessionid才能调用后台的action?没有进入到后台
Action checkAction = new Action();
checkAction.setProcess("/SA/OPM/system/systemProcess");
checkAction.setActivity("mainActivity");
checkAction.setName("lockAccountsAction");
checkAction.setParameter("uCode", uCode);
ActionResult actionResult = ActionEngine.invokeAction(checkAction, ActionUtils.JSON_CONTENT_TYPE, null, null, null);
控制台输出信息:
2019-10-22 11:09:57 Not registed session:A3683D34A030C5246DE340D78578CCB2, jsessionid:null, action: <?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/OPM/system/systemProcess" activity="mainActivity" name="lockAccountsAction" execute-context="" content-type="application/xml"><parameters><parameter name="uCode"><xbiz:simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XMLSchema#String">admin</xbiz:simple></parameter></parameters></action>
|
|