I have two jsp files login.jsp which has a login form
<form method ="post" action="LoginServlet">
..........
</form>
The second file is pages/errors.jsp which include login.jsp
<jsp:include file="../login.jsp" />
When login.jsp runs it calls LovinServlet correctly but when errors.jsp runs, the included login.jsp can't call LoginServlet.
How to solve? Thanks