<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

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

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


		<action name="multipleUploadUsingArray">
			<result>multipleUploadUsingArray.jsp</result>
		</action>

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


    </package>
</struts>


