Re: File upload error handling
Asish Kumar Samanta <[email protected]> Fri, 29 Dec 2006 05:05:13 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <31292494.1167390343812.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I have used the same file but uploading does not work first time.
my configuration file is
<struts>
<include file="struts-default.xml" />
<package name="fileupload" extends="struts-default" namespace="/fileupload">
<action name="upload" class="com.anshin.repro.enterprise.admin.ui.actions.UpdateTemplateAction" method="input">
<result>/pages/upload.jsp</result>
</action>
<action name="doUpload" class="com.anshin.repro.enterprise.admin.ui.actions.UpdateTemplateAction" method="updateTemplate">
<interceptor-ref name="fileUpload" />
<interceptor-ref name="basicStack"/>
<result>/pages/upload-success.jsp</result>
</action>
</package>
</struts>
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=47478&messageID=110992#110992