A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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.
I agree. Here's the link:
subject: Can't return an arraylist
put arraylist in session?
help needed in copying an Array
How to return an array!
change while loop to recursion?
DataSource passing param
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014