package com.javahonk.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;

@Results({
		@Result(name = "error", location = "/index.jsp"),
		@Result(name = "input", location = "/index.jsp")})
public class WelcomeAction extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	@Override
	@Action(value = "/welcomeAction")	
	public String execute() throws Exception {
		return ActionSupport.INPUT;
	}	
	
}
