我正在grails 2.2.2和mongoDb中开发我的第一个应用程序。
但是我被困在
“如何从mongoDb获取数据并在.gsp页面中显示”

请您参考如下方法:

如果您在应用程序中使用MongoDB plugin,则使用Get StartMap Domain Classes to Mongo Collections。完成映射后,可以在controllers中使用render the mapped Mongo collectionViews and Templates


评论关闭
IT序号网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!