tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeev N. Jha" <jha.raj...@gmail.com>
Subject Re: Problem to download a file from 2 browsers at the time
Date Tue, 20 Jun 2006 09:32:30 GMT
Look at the code, look at the loops,
You are trying to download some 105 MB files !!!  nombre is like 15 
bytes at least

(a) either you wait for a real long time
(b) or you set the content-length in advance
(c)  or better still try with small numbers

for (int l=0;l<30;l++){ 
 
    for (int k=0;k<25;k++){ 

HTH

- Rajeev.


password password wrote:
> I have tried in others browsers and the result is the same. The files 
> are download but incomplets. And while the JSP continues executing the 
> code, a don't understand.
>
>
> */"Rajeev N. Jha" <jha.rajeev@gmail.com>/* escribió:
>
>     password password wrote:
>     > I have this JSP that download an excel file.
>     > It works fine if I use only one browser at the same time.
>     > The problem is when I try to do this but from 2 browsers at the
>     same time, (for example in a same computer). From each browser I
>     can download a part of the file but not the complete file.
>     > It seems the browsers are sharing the bandwidth and when it
>     starts to download a file the other stops.
>     >
>     from IE there is some limitation that you can only open 2 concurrent
>     connections to one domain.
>
>     Thanks
>
>     - Rajeev
>
>     ---------------------------------------------------------------------
>     To start a new topic, e-mail: users@tomcat.apache.org
>     To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>     For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ------------------------------------------------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com 
> <http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/>




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message