【发布时间】:2013-09-05 16:27:27
【问题描述】:
我的情况是这样的:
MyApplication(folder)
|
| - server (folder)
| |
| | - some structure (folder)
| | |
| | - login.jsp
|
| - client (folder)
| |
| | - clientSoftware (folder)
| | |
| | | - index.html
| | | - something.html
| | | - otherSomething.html
我在 Apache Tomcat 服务器上运行它,我想得到的是:
localhost:8080/NameOfApplication/index.html
而不是 localhost:8080/NameOfApplication/client/clientSoftware/index.html
我正在使用 spring mvc。有没有办法做到这一点?
【问题讨论】:
-
您正在使用 Spring MVC 和 Apache 服务器...我希望它是 Apache Tomcat 对,请清楚,因为如果您只使用 Apache Web 服务器,那么我认为您不会剩下任何解决方案...
-
好吧,当然,对不起。只是纠正它=)
标签: java spring-mvc