By Date: <-- -->
By Thread: <-- -->

Problem to download a file from 2 browsers at the time



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 (at) 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 (at) tomcat.apache.org
    To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
    For additional commands, e-mail: users-help (at) 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 (at) tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org For additional commands, e-mail: users-help (at) tomcat.apache.org