Vee*_*era 20 java session jsf
如何在JSF托管bean中检索会话ID值?
Dam*_*amo 42
FacesContext fCtx = FacesContext.getCurrentInstance(); HttpSession session = (HttpSession) fCtx.getExternalContext().getSession(false); String sessionId = session.getId();
归档时间:
16 年,4 月 前
查看次数:
24918 次
最近记录:
6 年,7 月 前