Contained Within
Find More Documentation
Featured Support Resources
| Descargar este libro en PDF (1199 KB)
Running a Grails Application Using run-app
-
Go to the application directory.
For example,
go to the as-install/grails/samples/helloworld directory.
-
Run the grails run-app command.
The grails run-app command starts the Enterprise Server in
the background and runs the application in one step. You don't need
to create a WAR file or deploy your application.
-
To test your application, point your browser to http://host:port/app-dir-name.
For example, point to http://localhost:8080/helloworld. You should see a screen that begins, “Welcome to
Grails.” Selecting the HelloController link should change the
display to, “Hello World!”
See Also
For details about the grails run-app command,
see the Sun GlassFish Enterprise Server v3 Prelude Reference Manual.
|