Much as SiteMesh merges two GSPs into one, plug-ins effectively merge two or more Grails applications into one.
就像SiteMesh将两个gsp合并成一个一样,插件可以将两个或多个Grails应用程序合并成一个。
A Grails application is deployed in a standard servlet container, so Grails supports JSPs just as well as GSPs.
Grails应用程序部署在标准的servlet容器内,所以Grails对JSP的支持同对GSP的支持一样好。
The default scaffolding also serves as the source for the GSPs that get created when you type grails generate-views Trip or grails generate-all Trip.
默认搭建也是输入grailsgenerate-viewsTrip或 grails generate-all Trip时生成 GSP的来源。
With Play, you can easily define controllers (servlets) that leverage views (JSPs, GSPs, templates, you name it), which in some way manipulate models.
使用Play,您可以很容易地定义利用视图(JSP、GSP、模板等)的控制器(servlets),在某种程度上,控制器管理模型。
You certainly can't rely solely on scaffolded views, but the minute you generate GSPs on disk, the responsibility for keeping them up to date shifts from Grails to you.
当然,不能仅仅依靠通过脚手架生成的视图,但是,当您在磁盘上生成gsp时,使它们保持最新的责任就从Grails转移到您自己身上。
Methods: Four instable models and 4 fracture models were made of fresh pig's thoracolumbar specimens (T10-L3). Self-designed GSPS were used in the simulated operation.
方法:用新鲜猪胸腰段脊柱标本(T10 - L3)制成失稳模型和骨折模型各4具,分别用自行研制的GSPS模拟手术固定。
Type grails generate-all Trip to build out a grails-app/controllers/TripController.groovy class and a matching set of Groovy Server Pages (GSPs) in grails-app/views/Trip.
输入grailsgenerate-all Trip,以构建一个grails-app/controllers/TripController.groovy类,并在 grails-app/views/Trip 中生成一组匹配的GroovyServerPage(GSP)。
By this point in the Mastering Grails series, you should have a fairly good idea how domain classes, controllers, and Groovy Server Pages (GSPs) all work together in a coordinated manner.
到目前为止,通过学习精通grails系列文章,您应该已经明白域类、控制器和Groovy服务器页面Groovy Server Pages,GSP是如何协调工作的。
By this point in the Mastering Grails series, you should have a fairly good idea how domain classes, controllers, and Groovy Server Pages (GSPs) all work together in a coordinated manner.
到目前为止,通过学习精通grails系列文章,您应该已经明白域类、控制器和Groovy服务器页面Groovy Server Pages,GSP是如何协调工作的。
应用推荐