web.xml文件中
<welcome-file-list>
<welcome-file>userloginjsp.do</welcome-file>
</welcome-file-list>好像不是你这样写的,你可以写一个index.html or index.jsp
通过首页去连接或转其他页面。
还有地址栏不可以写*.do(http://localhost:8080/BBS/userloginjsp.do)
这个.do操作通过form,submit,button.local.href等去做的
<welcome-file-list>
<welcome-file>userloginjsp.do</welcome-file>
</welcome-file-list>好像不是你这样写的,你可以写一个index.html or index.jsp
通过首页去连接或转其他页面。
还有地址栏不可以写*.do(http://localhost:8080/BBS/userloginjsp.do)
这个.do操作通过form,submit,button.local.href等去做的
应该是<welcome-file>userlogin.jsp</welcome-file>把
首页配置不能连.do.我试过的.