Tomcat url to find resources
Hello,
I'm on a team where some people use eclipse and other people intelliJ.
However, when i run my application my javascript tries to get some data using some calls to a rest service.
The URL is /projectname/resources/.... When i run it on eclipse (Local)
The URL is /resources/... when i run it on Intellij (Local)
How can i set my intellij so the resources can be found on /projectname/resources like in eclipse?
Using Tomcat 8 server to deploy.
请先登录再写评论。
It looks like you need to set Application context to /projectname:
