package com.action;


public class UserAction {
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		return "success";
	}
	
	
}

package com.action;

import com.opensymphony.xwork2.ActionSupport;


public class UserAction extends ActionSupport{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1572209882148568525L;

	public String execute() throws Exception {
		// TODO Auto-generated method stub
		return "success";
	}
	
	
}

add action extends