Navegar entre paginas JSP

<%@page contentType=“text/html”%>
<%@page pageEncoding=“UTF-8”%>
<%–
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library… action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
–%>
<%–
<%@taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c”%>
–%>

<%@page info=“converter” buffer=“2kb” errorPage=“error.jsp”%>

evandro
<% double calculo = 0;
if (request.getParameter("calcular") != null)
{
    String valor = request.getParameter("valor");
    String taxa = request.getParameter("taxa");
    if (valor != null && taxa != null) {
        out.println("valr "+valor);
        out.println("<br>taxa "+taxa);
        double val= Double.parseDouble(valor);
        double tax= Double.parseDouble(taxa);
        calculo = val*tax;
        out.println("<br>total "+calculo);
        
    }
    
}

%>

Evandro ARaujo de Abreue

    <br>

valor

taxa

</form>

<%--
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
<%--
<c:if test="${param.sayHello}">
    <!-- Let's welcome the user ${param.name} -->
    Hello ${param.name}!
</c:if>
--%>

</body>

cadastro.jsp

<%@page contentType=“text/html”%>
<%@page pageEncoding=“UTF-8”%>
<%–
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library… action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
–%>
<%–
<%@taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c”%>
–%>

JSP Page
<h1>JSP Page</h1>

<%--
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
<%--
<c:if test="${param.sayHello}">
    <!-- Let's welcome the user ${param.name} -->
    Hello ${param.name}!
</c:if>
--%>

</body>

Esta dando erro
quando navego

pe Status report

message /error.jsp

description The requested resource (/error.jsp) is not available.

Evandro

Aprenda mais sobre o tratamento de exceção na JSP aqui

Faz em MVC :frowning: