WASdev / tool.accelerate.core

No further updates will be made to this repository
Apache License 2.0
10 stars 18 forks source link

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

Open lauracowen opened 7 years ago

lauracowen commented 7 years ago

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 commented 7 years ago

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