You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/12/03 20:20:45 UTC

DO NOT REPLY [Bug 15033] New: - Forwarding after "File Upload"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15033>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15033

Forwarding after "File Upload"

           Summary: Forwarding after "File Upload"
           Product: Struts
           Version: 1.1 Beta 1
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: bindu.variam@mscsoftware.com


I have an action for the file upload, and after the file upload is completed, I 
have the last statement of the action as

return ( mapping.findforward ("success") );

The action mapping is :

<!-- Process FileSelectionUploadClient -->
    <action    path="/fileSelectionUploadClientHandler"
               type="com.msc.sdm.web.action.FileSelectionUploadClientAction"
               name="FileSelectionUploadClientForm"
               scope="request"
               input="ti.fileSelectionUploadClient" >
      <forward name="success" path="/statusDisplay.do"/>
    </action>

This DOES NOT WORK !!! Soon after the return statement, it throws a Servlet 
Exception saying "Multipart Request does not start with boundary". But I am 
already done with the Multipart Request/file upload and I want to go to a 
different action, wonder why it still looks for Multipart info. 

So currently, to get it to work, I have to change the "forward" statement to

      <forward name="success" path="/status.jsp"/>

So it goes directly to a jsp page. Only this works. This is very inconvenient 
and inconsistent !!!

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>