struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar <oscar.kalde...@gmail.com>
Subject Re: Set JSP timeout in struts 1 app with multipart/form-data form
Date Mon, 04 Oct 2010 15:09:51 GMT
Well, i'm using Tomcat 6 for development but also i'm going to test in OAS
because that will be the production environment.

Regards.

2010/10/4 Maurizio Cucchiara <maurizio.cucchiara@gmail.com>

> Hi,
> what application server are you using? Did you watch application server
> logs?
> I think the problem is related with your AS.
> For instance, Tomcat have a disableUploadTimeout variable.
>
>
> Maurizio Cucchiara
>
>
> 2010/10/4 Oscar <oscar.kalderon@gmail.com>:
> > Hi to all, i have a question about a situation that i have in my
> > application. It's in Struts 1.1 . Basically, i have a multipart/form-data
> > form in the jsp that contains 2 elements: a html:file control and a
> > html:submit button . This form will be used to upload MS Access database
> > file up to 800mb to extract it's data and pass it to Oracle. When i tried
> > for first time, i selected the file and press the button. I monitored the
> > request using Firebug extension on firefox and i saw when it sends the
> file
> > into the request, but after a while the browser resets the connection
> > (request)  maybe because the request takes too long.
> >
> > And that happens when i test it locally, but imagine in production,
> probably
> > the upload will take more time depending of the connection, so i wanna
> ask
> > you Struts User mail list members, if somebody knows how to specify
> > something like the "request timeout" to avoit the browser to reset the
> > request.
> >
> > Thanks in advance.
> >
> >
> > --
> > Oscar Calderón
> > SCJP 6  <http://javahowto.net>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Oscar Calderón
SCJP 6  <http://javahowto.net>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message