开发者

grails + gwt request handling via controllers

I am new to gwt. I am 开发者_运维百科trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if anybody can guide me :)


I had some success by returning json from grails controllers. Look here for more info. Then, on the gwt client side, create javascript "overlay" types, and then use RequestBuilder to make a request to the grails controller to retrieve json. Here is a good tutorial, but you can skip the section that describes how to create a servlet to return json, because your grails controllers will do that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜