I have a problem trying to set up tomcat to run a simple servlet and hope someone can help out.
I am trying to deploy/upload a Java based web application on Linux based shared Java hosting server. For this I have uploaded the war file on Cpanel, also I have created same file structure as it was in Tomcat.
I have created following structure in public_html directory of Cpanel:
*All the classes are kept in classes folder inside web-inf.
Tomcat is running and the index page is visible. I have redirected from index.html page to jlogin.jsp page inside the jsp folder. It working fine with complete effect of css & images and all scripting working fine on jlogin page.
But when I am calling Login servlet from jlogin.jsp page it gives 404 NOT FOUND error. I have tried all possible path to call servlet, still problem persist.
Login.class servlet is located in : WEB-INF/classes/com/org/model/servlets
ERROR is - 404
type Status report
description The requested resource (/Model/Login) is not available.