how to impl开发者_如何学Goement logout process in JSF application
public String logout() {
((HttpSession) FacesContext.getCurrentInstance().getExternalContext()
.getSession()).invalidate();
return "homePage";
}
and
<h:commandLink value="#{msg.logout}" action="#{logoutBean.logout}" />
加载中,请稍侯......
精彩评论