At the beginning I’m at adminPage.jsp :
<!DOCTYPE html>
<html>
<head><title>System Administrator Page</title>
<link rel="stylesheet"
href="./css/styles.css"
type="text/css"/>
</head>
<body>
<h1>Hello ${name.firstName} ${name.lastName} , You've logged in successfully!</h1>
<h1>
Please choose one of the following options
</h1>
<fieldset>
<legend>Add a new manager to the bank system</legend>
<form action="adminAddNewManager">
<a href="registration.jsp">Press here to continue</a>
</form>
</fieldset>
And I want to move to registration.jsp , which is located at the same folder of adminPage.jsp .
But when I try to move to adminPage.jsp :

I get :
HTTP Status 404 - /WebBank/registration.jsp
--------------------------------------------------------------------------------
type Status report
message /WebBank/registration.jsp
description The requested resource (/WebBank/registration.jsp) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/7.0.28
Why is that ?
Regards
If It’s in the same folder, use
< a href="/registration.jsp">Press here to continue< /a>
If it didn’t help (which I doubt):
HTTP Status 404means that the requested file could not be found on the server (not surprisingly)So either of these are happening:
The URL is incorrect. (I’d bet on this).
The file is not created or has different name or is not saved.
You might also want to check that the page name is all in lowercase or is exactly
registration.jsp