关于url显示内容的问题

我在web.xml中配置了欢迎信息页


/jsp/edun/query/businessQuery.jsp

我在地址栏中输入http://localhost:8181/provincenode/ 即可显示该页的内容,可我现在的业务需求是要求url显示为
http://localhost:8181/provincenode/businessQuery.jsp 如何让businessQuery.jsp这部分在url中显示出来呀?

可以这样:
web.xml中这样配置
[code="xml"]

businessQuery.jsp

[/code]
在provincenode目录下新建一个businessQuery.jsp文件,内容是:
[code="html"]

[/code]
这样就可以在访问 http://localhost:8181/provincenode/ 是url显示为http://localhost:8181/provincenode/businessQuery.jsp,但是实际运行的是/jsp/edun/query/businessQuery.jsp

可以使用URL 重写
urlrewrite,你去百度搜一下就知道了