My java Servlet (war) http://localhost:8080/test/NewServlet works fine on localhost, but once I deploy on my website https://example.com/test/NewServlet it does not work. Page simply redirects to home page i.e. example.com It was working fine earlier on prior version of EasyApache. After I updated to EA4 servlets are not working. Servlet is compiled with jdk 1.8
Asked
Active
Viewed 211 times
0
-
Do you need a port address? E.g. https://example.com **:8080** /test/NewServlet? – dan1st May 22 '19 at 06:58
-
my website is already hosted on Centos (vps). I think port address is required in case of localhost only. – ICL Sales EXIMON May 22 '19 at 07:11
-
you should access log file of that tomcat server and try to debug it – Onkar Musale May 22 '19 at 09:49
-
Cataline.out shows org.apache.jasper.JasperException: java.lang.NullPointerException – ICL Sales EXIMON May 22 '19 at 10:01