<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>

	<!-- Data Sources -->
	<data-sources>
	</data-sources>

	<!-- Form Beans -->
	<form-beans>
		<form-bean name="JobCollectionForm" type="com.ibm.ws.batch.jobmanagement.web.forms.JobCollectionForm">
		</form-bean>
		<form-bean name="JobDetailForm" type="com.ibm.ws.batch.jobmanagement.web.forms.JobDetailForm">
		</form-bean>
		<form-bean name="NewJobForm" type="com.ibm.ws.batch.jobmanagement.web.forms.NewJobForm">
		</form-bean>
		<form-bean name="SavedJobCollectionForm" type="com.ibm.ws.batch.jobmanagement.web.forms.SavedJobCollectionForm">
		</form-bean>
		<form-bean name="SavedJobDetailForm" type="com.ibm.ws.batch.jobmanagement.web.forms.SavedJobDetailForm">
		</form-bean>
		<form-bean name="JobScheduleCollectionForm" type="com.ibm.ws.batch.jobmanagement.web.forms.JobScheduleCollectionForm">
		</form-bean>
		<form-bean name="JobScheduleDetailForm" type="com.ibm.ws.batch.jobmanagement.web.forms.JobScheduleDetailForm">
		</form-bean>
		<form-bean name="NewScheduleForm" type="com.ibm.ws.batch.jobmanagement.web.forms.NewScheduleForm">
		</form-bean>
	</form-beans>

	<!-- Global Exceptions -->
	<global-exceptions>
	</global-exceptions>

	<!-- Global Forwards -->

	<!-- Action Mappings -->
	<action-mappings>
		<action name="JobCollectionForm" path="/viewJobs" scope="session" type="com.ibm.ws.batch.jobmanagement.web.actions.ViewJobsAction">
			<forward name="success" path="/jobCollectionView.jsp">
			</forward>
			<forward name="edit" path="/jobLogView.jsp">
			</forward>
			<forward name="restartWithProp"  path="submit.job.step2">
			</forward>
		</action>
		<action path="/submitJob" type="com.ibm.ws.batch.jobmanagement.web.actions.NewJobAction" name="NewJobForm" scope="session">
			<forward name="success" path="/submitJob.jsp">
			</forward>
			<forward contextRelative="false" name="specify.job" path="/submitJob.jsp">
			</forward>
			<forward contextRelative="false" name="specify.properties" path="/submitJobStep2.jsp">
			</forward>
		</action>
		<action path="/viewSavedJobs" type="com.ibm.ws.batch.jobmanagement.web.actions.ViewSavedJobAction" name="SavedJobCollectionForm" scope="session">
			<forward name="success" path="/savedJobCollectionView.jsp">
			</forward>
			<forward name="edit" path="/savedJobView.jsp">
			</forward>
		</action>
		<action name="NewJobForm" path="/saveJob" scope="request" type="com.ibm.ws.batch.jobmanagement.web.actions.SaveJobAction">
			<forward name="success" path="/saveJob.jsp">
			</forward>
		</action>
		<action name="JobScheduleCollectionForm" path="/viewJobSchedules" scope="session" type="com.ibm.ws.batch.jobmanagement.web.actions.ViewJobSchedulesAction">
			<forward name="success" path="/jobScheduleCollectionView.jsp">
			</forward>
			<forward name="edit" path="/jobScheduleView.jsp">
			</forward>
			<forward contextRelative="false" name="update.new.properties" path="/updateNewProperties.jsp">
			</forward>
			<forward contextRelative="false" name="view.job" path="/savedJobView.jsp">
			</forward>
		</action>
		<action name="NewScheduleForm" path="/createSchedule" scope="session" type="com.ibm.ws.batch.jobmanagement.web.actions.CreateScheduleAction">
			<forward name="success" path="/createScheduleStep1.jsp">
			</forward>
			<forward name="specify.schedule" path="/createScheduleStep1.jsp">
			</forward>
			<forward name="specify.job" path="/createScheduleStep2.jsp">
			</forward>
			<forward name="specify.properties" path="/createScheduleStep21.jsp">
			</forward>
			<forward name="confirm" path="/createScheduleStep3.jsp">
			</forward>
		</action>
		<action name="SavedJobCollectionForm" path="/selectSavedJob" scope="session" type="com.ibm.ws.batch.jobmanagement.web.actions.SelectSavedJobAction">
			<forward name="submit" path="/submitSelectSavedJob.jsp">
			</forward>
			<forward name="schedule" path="/scheduleSelectSavedJob.jsp">
			</forward>
			<forward contextRelative="false" name="update.schedule" path="/updateScheduleSelectSavedJob.jsp">
			</forward>
		</action>
		<action name="JobDetailForm" path="/viewJobLog" scope="session" type="com.ibm.ws.batch.jobmanagement.web.actions.ViewJobLogAction">
			<forward name="success" path="/jobLogView.jsp">
			</forward>
		</action>
	</action-mappings>

	<!-- Message Resources -->
	<message-resources parameter="com.ibm.ws.batch.jobmanagement.web.resources.ApplicationResources"/>

</struts-config>
