JSP works normally only on Localhost

0

I'm developing a dynamic web project in JAVA. I'm using JAVA 1.8_0121, Tomcat 8.5 and mySQL.

Since I started the project I used localhost to debug my application, now I'm trying to deploy to my server, when I did this, the program started showing some bugs ... The login works fine, the search works fine , but when I select objects to add to a shopping cart to calculate their values, it does not work, much less shows the discount (percentage discount) and sometimes the object description does not appear.

I think it's not a problem in the code but some configuration of the web server that I have no idea where to move, let alone debug the JSP on the web.

EDIT

In some comments I tried to use'Maven' and it still did not work, it only opens index.jsp after I log in to the Error 404 application.

Here are some pictures of how to organize the project

EDIT 2

How can I put the entire project folders on the server? Is there any way to leave the breakpoint in the war file? How can I debug out of localhost?

    
asked by anonymous 23.02.2017 / 19:40

0 answers