I am 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, I am now trying to deploy to my server, when I did this, the program started to show 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 is not a problem in the code but some configuration of the web server that I have no idea where to move, much less I can debug the JSP on the web.
When you say it worked on localhost, are you saying you deployed to a non-IDE Tomcat (or similar), or did you just let the IDE do the work?
I'm wondering if the IDE was doing something for you.
As for tracing your issue, you shouldn't need to debug a JSP as it shouldn't have any code in it to debug.
You should have logging in your servlets and other Java code...can you switch on DEBUG level on those and track where the problem lies?
Other than that, without any more detail on what issues you are seeing it's not really going to be possible to give a more detailed answer.
posted 1 year ago
I'm installed TOMCAT on my eclipse to run and debug the cod. I didn't saw anything wrong, 'cause in localhsot works really fine all functions.