I develop web application.

Spring+Hibernate on Tomcat servlet container.

Today on another PC I deploy application and see that css doesn't load.

in jsp I use relative paths for this(example)

```
<link href="/resources/css/ui-lightness/jquery-ui-1.10.0.custom.min.css" rel="stylesheet">

```

Respective request which browser sends:

```
http://localhost:8080/resources/css/ui-lightness/jquery-ui-1.10.0.custom.min.css

```

and this request returns 404 http error.

---

for another jsp:

```
<link href="/resources/css/bootstrap.min.css" rel="stylesheet">

```

browser sends:

```
http://localhost:8080/terminal-company/resources/css/bootstrap.min.css

```

Thus you can see that from first jsp project name doesn't add to the URL

Why? and how to fix it? request me detail which I should to add to relevant answer.

project structure:
------------------

![enter image description here](https://i.stack.imgur.com/908WN.jpg)

spring related part of web.xml:

```
<servlet>
        <servlet-name>appServlet</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        <init-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>/WEB-INF/spring/webContext.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>appServlet</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

```