2016-03-05 39 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

很高兴我能帮到你 –

相关问题