我在安装tomcat时遇到问题。
当我尝试键入时
http://localhost:8080/contextpath
根本不显示我的登录页面的图像。
但是,当我输入整个URL时>
http://localhost:8080/contextpath/Login/login.jsp
我的登录页面图像可以显示。
在web.xml中有此部分
<welcome-file-list>
<welcome-file>/Login/login.jsp</welcome-file>
我在安装tomcat时遇到问题。当我尝试键入http:// localhost:8080 / contextpath时,我的登录页面的图像完全不显示。但是,当我将整个URL放在http:// ...
在您的代码中尝试此操作