This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Services and the fly likes Pagination for records coming from Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Pagination for records coming from Web Services" Watch "Pagination for records coming from Web Services" New topic
Author

Pagination for records coming from Web Services

Ahmed Ghaleb
Greenhorn

Joined: Aug 21, 2008
Posts: 1
I need help to do a pagination with next and previous for the rows calling them from Web services as following

CarsDetailsWS cDWS = new CarsDetailsWS();
Vector cDV = cDWS.getCarsDetails(new Long("123456"));

Enumeration e = cDV.elements();
while ( e.hasMoreElements() )
{
String [] s =(String [])e.nextElement();

out.println(s[0] + " " + s[1])

}
 
wood burning stoves
 
subject: Pagination for records coming from Web Services
 
It's not a secret anymore!