You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by "gandharvas (via GitHub)" <gi...@apache.org> on 2025/04/07 07:41:53 UTC
[I] Set a Context Path in Getting Started Section has a missing link [grails-doc]
gandharvas opened a new issue, #967:
URL: https://github.com/apache/grails-doc/issues/967
The `Getting Started` sections `Optional: Set a Context Path` explains how a configuration property be set in the `application.yaml` file but the corresponding link explaining how that configuration is accessible is missing.
Link : https://docs.grails.org/7.0.0-M3/guide/single.html#introduction
```
If you want to set a context path for your application, create a configuration property in the "grails-app/conf/application.yml" file:
server:
servlet:
context-path: /myapp
With this configuration, the application will be available at:
Alternatively, you can also set the context path via the command line:
grails> run-app -Dgrails.server.servlet.context-path=/helloworld
```
This must have to be:
`With this configuration, the application will be available at: http://localhost:8080/myapp`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Set a Context Path in Getting Started Section has a missing link [grails-doc]
Posted by "jamesfredley (via GitHub)" <gi...@apache.org>.
jamesfredley closed issue #967: Set a Context Path in Getting Started Section has a missing link
URL: https://github.com/apache/grails-doc/issues/967
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org