@@ -0,0 +1,637 @@
+package com.jing.web;%0A%0Aimport java.util.Map;%0A%0Aimport org.apache.struts2.interceptor.SessionAware;%0A%0Aimport com.jing.vo.User;%0Aimport com.opensymphony.xwork2.ActionSupport;%0A%0Apublic class ManageAction extends ActionSupport implements SessionAware %7B%0A%0A%09private static final long serialVersionUID = 8989696680488887912L;%0A%09private Map%3CString, Object%3E session;%0A%0A%09@Override%0A%09public void setSession(Map%3CString, Object%3E session) %7B%0A%09%09this.session = session;%0A%09%7D%0A%0A%09@Override%0A%09public String execute() throws Exception %7B%0A%09%09User user = (User) session.get(%22user%22);%0A%09%09if (user == null %7C%7C user.getId() == null) %7B%0A%09%09%09return INPUT;%0A%09%09%7D%0A%09%09return SUCCESS;%0A%09%7D%0A%0A%7D%0A

manage action