Skip to content
This repository has been 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

Open
lauracowen opened this issue Jul 27, 2017 · 1 comment

Comments

@lauracowen
Copy link
Member

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.
@katheris
Copy link
Contributor

katheris commented Aug 3, 2017

This might be an issue with all the tech types, not just Spring

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants