Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda

asked on 

Where are servlets saved on the webser

where do files /servlets go after deployment (java)

I have a servlet with this code
@WebServlet(description = "To manage client logins", urlPatterns = { "/login_cls" })

in the JSP I have this code
<form  name = "login" method="get" action = "login_cls">

This is working perfect with on the local machine (localhost), but when I deploy the site on the server using war file I get the message

Type Status Report

Message /login_cls

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

I see my classes are in the "/opt/tomcat/webapps/ROOT/WEB-INF/classes/com/dat_ran on the server

Which should they be to be seen

JSPJava EE* TomcatApache Web Server

Avatar of undefined
Last Comment

8/22/2022 - Mon