Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda

asked on 

code to call servlet sometiimes works and other fails

I have the code below which is supposed to call a servlet

sometimes it works and other times it fails

<li><a href = "${pageContext.request.contextPath}/userLogin">Login</a></li>

I am failing to know why this happens

It works perfectly with localhost

error message
Message /userLogin

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

Avatar of undefined
Last Comment

8/22/2022 - Mon