0
我使用Netbeans java。我遇到了问题,我的网页不能顺序流动。我删除了我的faces-config中这个特定JSP页面的链接。我在这个JSP页面中插入了一个刷新重定向功能,但它返回到上一页。我担心它与Netbeans的问题。任何人都遇到过这个问题?JSP页面重定向失败
*我重定向到JSP页面被访问时,URL手动键入在IE
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<style type="text/css">
@import "site.css";
</style>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Verification</title>
<META HTTP-EQUIV="Refresh" CONTENT="2;http://localhost:8080/MajorProject-war/faces/Reviewer/ReviewerIndex.jsp">
</head><body BGCOLOR="#E0E0E0" TEXT="#000080">
<div class="background">
<b><big>Verification successful</b></big>
<br></br> Redirecting you to homepage...<br></br>
<h:form>
</h:form>
</div>
</body>
</html>
非常感谢!有效! – gymcode