Kim Kenneth Moes blog
Notes about Java, JEE and related subjects.
Controller method returning JSON
def search(String selectVal) {
def responseData = [
results: AMApplication.findAllByName(selectVal)?.server?.name
]
render responseData as JSON
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment