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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>/* 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: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------------------
>
> 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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mir Kasim Ali