求助:resin3.07中如何让默认显示的页面为index.jsp?(在线等)

bashendan 2004-07-18 10:59:45
我配置了web应用的目录为E:\project并在这个目录下放了一个index.jsp,<document-directory>e:\project</document-directory>
但是http://localhost:8080不能默认定位到http://localhost:8080/index.jsp文件,好像都是定位到index.xtp上,请问,我该如何解决呢?多谢
...全文
153 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
LightGreenOrg 2004-09-15
  • 打赏
  • 举报
回复
修改conf目录下的app-default.xml文件如下内容:
<!-- Configures the special index files to check for directory URLs -->
<welcome-file-list>
<welcome-file>index.xtp</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
把index.jsp的位置放到最前就可以了。
duhai 2004-09-09
  • 打赏
  • 举报
回复
up
weicairong 2004-09-05
  • 打赏
  • 举报
回复
同意ljya(苦丁)
ljya 2004-08-25
  • 打赏
  • 举报
回复
你的resin.conf 文件中有没有这一句

<welcome-file-list>index.xtp, index.jsp, index.html</welcome-file-list>

index.jsp 在不在你的file list中
woodfans 2004-08-24
  • 打赏
  • 举报
回复
你的index.jsp是什么内容啊
要是默认的如下:
<% response.sendRedirect("resin-doc/index.xtp"); %>
肯定会定位到index.xtp
linlemingllm 2004-08-13
  • 打赏
  • 举报
回复
我也发现了此问题,up
yophoo 2004-07-19
  • 打赏
  • 举报
回复
应该不用修改,index.jsp也是resin的默认页面。

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧