tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mir Kasim Ali" <mirkasimal...@gmail.com>
Subject Re: Problem to download a file from 2 browsers at the time
Date Tue, 20 Jun 2006 11:03:42 GMT
Better u give the link to file and enter the mime type
<mime-mapping>
 <extension>xls</extension>
 <mime-type>application/vnd.ms-excel</mime-type>
 </mime-mapping>

In <catlina home>\conf\web.xml and Restart the server
Hope this will work



On 6/20/06, Rajeev N. Jha <jha.rajeev@gmail.com> wrote:
>
> 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
>
>


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