在servlet中使用用sendRedirect()跳转到其他jsp页面时发生404

版权声明:欢迎转载评论~哈哈哈哈请标明出处呀 https://blog.csdn.net/legendaryhaha/article/details/80487366

如图:

使用sendRedirect()跳转到其他jsp页面,



出错


检查后发现路径出错:

文件的结构:


路径要这样设置



成功

    

猜你喜欢

转载自blog.csdn.net/legendaryhaha/article/details/80487366