e will get you to Success.
- Original Message -
From: "Strachan, Paul" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 26, 2006 12:52 PM
Subject: RE: sort the list
You could create your own sort class which implements
java.ut
You could create your own sort class which implements
java.util.Comparator
e.g.
public class MySort implements Comparator {
compare(o1, o2) {
String name1 = (String) o1.getLastName();
String name2 = (String) o2.getLastName();
return name1.compareTo(name2);
}
}
th
e this sql query,
I have one method to sort
I have to use inside this method or?
- Original Message -
From: "Li" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 26, 2006 11:46 AM
Subject: Re: sort the list
> It 's better if yo
Hai u said using direct ssql
Where i give this sql query,
I have one method to sort
I have to use inside this method or?
- Original Message -
From: "Li" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 26, 2006 11:46 AM
Subject:
It 's better if you can store sorted one in different list. And it is better
you retrieve sorted data from your persistent layer or dao
* you can use direct sql query
* or use object mapping like hibernate
Good luck
On 9/26/06, Gomathi <[EMAIL PROTECTED]> wrote:
Hai,
I have one arrali
5 matches
Mail list logo