【发布时间】:2017-05-23 08:21:19
【问题描述】:
我有一个应用程序,其中我提到了这样的欢迎文件列表
<welcome-file-list>
<welcome-file>flows/login.htm</welcome-file></welcome-file-list>
所以当我点击我的应用程序的 URL 时,即http://localhost:8080/demoApplication
然后它加载欢迎页面,即登录页面。 但在 URL 中它只显示http://localhost:8080/demoApplication 不像http://localhost:8080/demoApplication/flows/login.htm
我想这样显示http://localhost:8080/demoApplication/flows/login.htm .基本上通过这个URL“http://localhost:8080/demoApplication”它通过我的过滤器之一。
那么tomcat如何处理welcome-file-list,意味着它如何将用户重定向到它。 或者我如何获得这样的 URL http://localhost:8080/demoApplication/flows/login.htm
【问题讨论】:
标签: tomcat