You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.action;
|
|
|
|
|
|
|
|
|
|
import com.opensymphony.xwork2.ActionSupport;
|
|
|
|
|
import org.apache.struts2.ServletActionContext;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Quit extends ActionSupport {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>execute<74><65><EFBFBD><EFBFBD>
|
|
|
|
|
public String execute() throws Exception {
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>session
|
|
|
|
|
HttpSession session = ServletActionContext.getRequest().getSession();
|
|
|
|
|
session.removeAttribute("id");
|
|
|
|
|
|
|
|
|
|
return SUCCESS;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
System.out.println();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|