i've got a 404 error when i tried to call a servlet
it said

Not Found

The requested URL /Login was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument handle the request.

please help me solve this problem

Thank You

This can be due to a lot of factors:
- Web application was not properly deployed i.e deploy time failure
- Attempt to access a path/resource which doesn't exist

Without more details like the name of your web application, the URL you are trying to access, your deployment descriptor etc. it would be kinda difficult to pin point the exact reason behind this.

here's the code i entered for calling the Login servlet,

<form action="/Login" method="post">
                <td><input type="text" name="user"/></td>
                <td><input type="password" name="pswd" /></td>
                <td colspan="3" align="center"><input type="submit" value="Login" /></td>

is there any mistakes in the form action command?

thank you

The action /Login should be /YourWebAppName/Login .

thank you very much

it worked.