please post questions like this on the users list. This list is for the development of stripes only.
Could you include more details about the stripes version, the jsp and the ActionBean? Best regards Kai --- Original Nachricht --- Absender: Barnes, Kenneth Datum: 29.08.2007 19:55 > I am having a problem uploading a file from the client to the > >> server(Tomcat) I have a stripes form with a <stripes:file = > >> "importFile" and the bean accepts it same as tutorial and i have > >> <stripes:submit name="inputFile"... my prob is I can read the file in > >> and parse out what i need but when i redirect/forward anything back to > > >> the original page I recieve > >> net.sourceforge.stripes.exception.StripesServletException: Could not > construct request wrapper. > >> > net.sourceforge.stripes.controller.StripesRequestWrapper.constructMultip > artWrapper(StripesRequestWrapper.java:113) > >> > net.sourceforge.stripes.controller.StripesRequestWrapper.<init>(StripesR > equestWrapper.java:95) > >> > mil.navy.spawar.auto.servlets.othereditors.DaysOfSupplyFileActionBean$1. > execute(DaysOfSupplyFileActionBean.java:65) > >> > net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(Dispatch > erHelper.java:484) > >> > net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon > text.java:157) > >> > net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercep > t(BeforeAfterMethodInterceptor.java:107) > >> > net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon > text.java:154) > >> > net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContex > t.java:73) > >> > net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(Di > spatcherHelper.java:478) > >> > net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(D > ispatcherServlet.java:249) > >> > net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherSe > rvlet.java:166) > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > >> ava.io.IOException: Corrupt form data: premature ending > >> > com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.jav > a:205) > >> > com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:222) > >> > com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:173) > >> > net.sourceforge.stripes.controller.multipart.CosMultipartWrapper.build(C > osMultipartWrapper.java:63) > >> > net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFact > ory.wrap(DefaultMultipartWrapperFactory.java:125) > >> > net.sourceforge.stripes.controller.StripesRequestWrapper.constructMultip > artWrapper(StripesRequestWrapper.java:109) > >> > net.sourceforge.stripes.controller.StripesRequestWrapper.<init>(StripesR > equestWrapper.java:95) > >> > mil.navy.spawar.auto.servlets.othereditors.DaysOfSupplyFileActionBean$1. > execute(DaysOfSupplyFileActionBean.java:65) > >> > net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(Dispatch > erHelper.java:484) > >> > net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon > text.java:157) > >> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Stripes-development mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-development ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
