2014年5月15日星期四

How to Jump session failure ?


Session lapse after the jump to the login page , and now the problem is. It displays the login page to the framework.

When the session fails to ask how the entire page jump is executed , instead of displaying the tabs in .

framework for Easy UI


------ Solution ------- -------------------------------------
filters , or a parent action ; unified treatment
------ Solution ------------------------------------- -------
response.sendRedirect("");

quotes plus you want to jump address. If you jump to the page , can be empty, the landlord try it.
------ Solution ---------------------------------------- ----
my content in the cancellation of the function buttons below the action as follows:
HttpSession session = request.getSession();

session.removeAttribute(MDCConstants.USER_LOGGED);
session.removeAttribute(MDCConstants.CURRENT_DATETIME);
response.sendRedirect("");

landlord is how to set the page to jump ? Hair look.
------ Solution ---------------------------------------- ----
you should use js operating easyui the layout of it, out of the top frame should be on the line, you try:
top location.href = "xxxxx";.
------ For reference only ----------- ----------------------------
has been resolved :

response.getWriter().write("<script>window.top.location='login.jsp'</script>");

没有评论:

发表评论