Skip to content

Set a Context Path in Getting Started Section has a missing link #967

@gandharvas

Description

@gandharvas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions