Package act.impl

Source Code of act.impl.AddFlight

package act.impl;

import frwa.ActionResult;
import frwa.IAction;

import javax.servlet.http.HttpServletRequest;

public class AddFlight implements IAction {
    @Override
    public String getName() {
        return "AddFlight";
    }

    @Override
    public ActionResult perform(HttpServletRequest request) {
        ActionResult actionResult = new ActionResult();
        actionResult.setUrlAddress("flt/AddingFlight.jsp");
        FlightFormObject flightFormObject = new FlightFormObject();
        actionResult.setFormObject(flightFormObject);
        return actionResult;
    }
}
TOP

Related Classes of act.impl.AddFlight

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.