Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

SpringBoot project - static webpage link to endpoint is wrong when no final slash in URL #190

@lauracowen

Description

@lauracowen

To reproduce:

  1. Generate a Spring Boot project and download it.
  2. Run locally using mvn clean install liberty:run-server.
  3. The webpage that's displayed at http://localhost:9080/myLibertyApp (note, no final / ) contains a link labelled "/springbootweb" which points to http://localhost:9080/springbootweb (and gives context not found message) instead of http://localhost:9080/myLibertyApp/springbootweb (which works as intended).
  4. If, however, you go to http://localhost:9080/myLibertyApp/ (note, a final / ) clicking the /springbootweb link on the webpage works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions