| Author |
Returning a String from Server (REST) and getting Errors..
|
pavan aryan
Greenhorn
Joined: Feb 28, 2010
Posts: 15
|
|
Hi all,
I am trying to implement @GET variety of REST, the main idea is to return a String with the details of the Customer from Database..
And when i am accessing the resource in IE..with /restserver/gettest it somettimes giving 500 error and some times doing nothing..
the error log at the GlassFish
Help me please guys,
thanks,
Pavan.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12325
|
|
Why not return a single String - why are you trying to return a String array?
I think thats what the error message is objecting to.
Bill
|
Java Resources at www.wbrogden.com
|
 |
pavan aryan
Greenhorn
Joined: Feb 28, 2010
Posts: 15
|
|
i thought string array will be more effective, so no way of doing with string array.
-pavan.
|
 |
 |
|
|
subject: Returning a String from Server (REST) and getting Errors..
|
|
|