Re: sort an array

2006-06-28 Thread password password
make sure you don't put anything other than your class on your list. If you're not using Java 5.0, remove the from the list declaration. On 6/27/06, password password wrote: > > Please, can you put an example? I don't know how put the compareTo Method > in my servlet. > &

Re: sort an array

2006-06-27 Thread password password
>Yes, you need to create an array of a data bean/value bean/private class >(whatever buzz word you want to give) and then sort that array. So you >would have an array of arrays and then sort the array of arrays. Can you put an example of this (array of arrays)? How can I do the order with this

Re: sort an array

2006-06-27 Thread password password
Hi, Arrays.sort(astrName); I can not use the sort method because I have the arrays have an relation. I mean, the first element of astrName have relation with first element of adblBackground1, adblBackground2, adblItensity1 and adblItensity2. Then I can sort each array indepe

Re: sort an array

2006-06-27 Thread password password
Hi, Arrays.sort(astrName); I can not use the sort method because I have the arrays have an relation. I mean, the first element of astrName have relation with first element of adblBackground1, adblBackground2, adblItensity1 and adblItensity2. Then I can sort each array indepe

Re: sort an array

2006-06-27 Thread password password
nd implement the compareTo Method. hope it helps SC On 6/26/06, password password wrote: > > Hi, > > I have a servlet and in this servlet I have a problem when sort an > array. If in Tomcat 5.5.4 (on windows) the order is very fast (about 2 > seconds) , but in tomcat 5.5.9 is slower (abo

sort an array

2006-06-26 Thread password password
Hi, I have a servlet and in this servlet I have a problem when sort an array. If in Tomcat 5.5.4 (on windows) the order is very fast (about 2 seconds) , but in tomcat 5.5.9 is slower (about 25 seconds). I don't Know why the same code has diferent time. The code is the next. The array h

Re: Problem to download a file from 2 browsers at the time

2006-06-20 Thread password password
I think is the version of Tomcat. I have tried with other version (5.5.9) and it is working. My actual version of Tomcat is 5.5.4, I thing it is problem. Or something the configuration in the tomcat: time, number of conexions,... - LLa

Re: Problem to download a file from 2 browsers at the time

2006-06-20 Thread password password
Hi, Yes I have tried with small numbers and the result is the same. I see you have tried because you know how many MB have the files. If you has tried, do you have this problem that the files are incompletes? - LLama Gratis a cualquie

Re: Problem to download a file from 2 browsers at the time

2006-06-20 Thread password password
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 downl

Problem to download a file from 2 browsers at the time

2006-06-20 Thread password password
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.

Download a file from jsp

2006-06-19 Thread password password
Hi, I have a jsp where I show a table. I am trying to download this jsp like excel file. To do this I put I get the information from a servlet and send this information in an attribute to the jsp It works fine if I use only one browser. The problem is when I try to do this but from

Download a file from jsp

2006-06-19 Thread password password
Hi, I have a jsp where I show a table. I am trying to download this jsp like excel file. To do this I put I get the information from a servlet and send this information in an attribute to the jsp It works fine if I use only one browser. The problem is when I try to do this but from

Download a file from jsp

2006-06-19 Thread password password
Hi, I have a jsp where I show a table. I am trying to download this jsp like excel file. To do this I put I get the information from a servlet and send this information in an attribute to the jsp It works fine if I use only one browser. The problem is when I try to do this but from