@@ -0,0 +1,634 @@
+package test.struts2.action;%0A%0Aimport com.opensymphony.xwork2.ActionSupport;%0Aimport org.apache.struts2.convention.annotation.Action;%0Aimport org.apache.struts2.convention.annotation.Namespace;%0Aimport org.apache.struts2.convention.annotation.ParentPackage;%0Aimport org.apache.struts2.convention.annotation.Result;%0A%0A@ParentPackage(%22struts-default%22)%0A@Namespace(%22/%22)%0Apublic class IndexAction extends ActionSupport %7B%0A%0A    private static final long serialVersionUID = 7800644785992711779L;%0A%0A    @Action(value = %22index%22, results = %7B@Result(name = SUCCESS, location = %22/index.jsp%22)%7D)%0A    public String index() %7B%0A        return SUCCESS;%0A    %7D%0A%0A%7D%0A

add action