0

I am new to spring environment. I have created small test spring project through STS. Project name: SPTest base package name: uk.co.ifTest

When I run and open this project browser through Eclipse. It work fine, but url, it put in the browser is xx.xx.xx.xx:8080/ifTest/, instead of //xx.xx.xx.xx:8080/SPTest/. I guess, it is adding base package name.

Is there any way I can open project with http://xx.xx.xx.xx:8080/SPTest/.

Thanks ish

Ish Fady
  • 69
  • 1
  • 6

1 Answers1

0

You need to change your context path for the server to point from ifTest to SPTest.

This answer will help you identify how to do it: Changing Tomcat context path of web project in Eclipse

Community
  • 1
  • 1
Aeseir
  • 7,754
  • 10
  • 58
  • 107