how is 404 found in jspservlets?

Replace

<form method="post" action="/LoginServlet">

with

<form method="post" action="LoginServlet">

which will be automatically be translated into the-context-path/LoginServlet. Note that the path you put into action attribute is relative to the context path.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top