2011-08-16 10 views
0

Im Netbeans javaを使用しています。私はページが順番に流れないという問題に出会った。この特定のJSPページのfaces-config内のリンクを削除しました。このJSPページにリフレッシュリダイレクト機能を挿入しましたが、代わりに前のページに戻ります。私はNetbeansの問題だと心配しています。誰もがこの問題に以前に会った?JSPページのリダイレクトに失敗しました

*私はにリダイレクトJSPページは、URLがthis 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> 

答えて

0

に手動で入力されたときに、content属性の値があるべきアクセスできます。

2; url=http://localhost:8080/MajorProject-war/faces/Reviewer/ReviewerIndex.jsp 
+0

ありがとう!出来た! – gymcode

関連する問題