A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Can't return an arraylist
Joined: Feb 29, 2008
Feb 29, 2008 05:15:00
I developed a web service with a method name getData()
I stored the result set of an sql query in an arraylist and i return the arraylist.
but when i try to receive the arraylist in the client in another arraylist, i get an error.
the method getData() seems to be returning void.
what could be the problem.
i declared the method with a return type as
Joined: Feb 08, 2006
Feb 29, 2008 14:42:00
This does not sound much like a Struts question. If you picked a more appropriate forum and described your web service technology then I am sure somebody could give you a hand.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Can't return an arraylist
change while loop to recursion?
DataSource passing param
help needed in copying an Array
put arraylist in session?
How to return an array!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014