I¹m getting an error after uploading a file. Which manifests itself in my
redirect action.

I¹m using a simple post redirect pattern, where the file upload action
redirects to a separate fileList action.

After successfully uploading the file the browser is redirected to the
appropriate action, but Tomcat throws a
³ the request was rejected because its size is unknown ³ exception. If I
call the offending action from the browser it works fine.

Here¹s the relevant snippet from my struts.xml file:

        <action name="uploadFile" class="uploadFile">
            <result name="input">/WEB-INF/cms/formFile.jsp</result>
             <result name="success" type="redirect-action">
                <param name="actionName">getFile</param>
                <param name="namespace">/cms</param>
            </result>
        </action>


Any ideas would be appreciated.

Z.

Reply via email to