package action;

import javax.sql.*;
import java.sql.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;

/**
 * Struts action that makes a List of bball database options.
 */
public class DispatchOptionAction extends Action {
    public ActionForward execute( ActionMapping mapping, ActionForm form,
				  HttpServletRequest request, HttpServletResponse response)
	throws Exception {

	// Get the selected option
	String option = (String)(((DynaActionForm)form).get( "option" ));

	return mapping.findForward( option );

    }
}