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.