2016-03-05 40 views
0
> System.out.println("Coming here for Voting"); 
>  //response.sendRedirect("NewFile.html");-----> This is working 
>  response.sendRedirect("Survey.jsp");-------> THis is not working getting 404 error. 

HTML和JSP在相同的默認folder..ie enter image description here的sendRedirect不工作了JSP,但對HTML頁面的工作

我response.sendRedirect是( 「./ Survey.jsp」),也試過不工作得到404

+0

原諒我,如果這是故意的,但你已經上市有命名的文件'Servey.jsp',不'Survey.jsp' – shrmn

回答

1

貌似程序您的JSP文件的拼寫述略而你的代碼拼寫調查

+0

謝謝你......哇我正在看所有其他的東西呃...你救了我的一天..thxs – user1742919

+1

很高興我能幫到你 –

相關問題