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

<struts>
	<package name="fileupload" extends="struts-default" namespace="/fileupload">
        
        <action name="upload" class="org.apache.struts2.showcase.fileupload.FileUploadAction" method="input">
			<result>/WEB-INF/fileupload/upload.jsp</result>
		</action>

        <action name="doUpload" class="org.apache.struts2.showcase.fileupload.FileUploadAction" method="upload">
        	<result name="input">/WEB-INF/fileupload/upload.jsp</result>
			<result>/WEB-INF/fileupload/upload-success.jsp</result>
		</action>
		
		<action name="multipleUploadUsingList">
			<result>/WEB-INF/fileupload/multipleUploadUsingList.jsp</result>
		</action>
		
		<action name="doMultipleUploadUsingList" class="org.apache.struts2.showcase.fileupload.MultipleFileUploadUsingListAction" method="upload">
			<result>/WEB-INF/fileupload/multiple-success.jsp</result>
		</action>


		<action name="multipleUploadUsingArray">
			<result>/WEB-INF/fileupload/multipleUploadUsingArray.jsp</result>
		</action>

		<action name="doMultipleUploadUsingArray" class="org.apache.struts2.showcase.fileupload.MultipleFileUploadUsingArrayAction" method="upload">
			<result>/WEB-INF/fileupload/multiple-success.jsp</result>
		</action>


    </package>
</struts>


