jboss访问项目 http://localhost:443/ 怎么配置 到想要的页面,比如访问http://localhost:443/  进入http://localhost:443/ index.jsp页面       新手求

解决方案 »

  1.   

    443是缺省的https端口什么版本的jboss?
      

  2.   

    配置自己的Web应用使用根路径
    配置自己的Web应用使用根路径(/),编辑jboss-web.xml文件(位于WEB-INF目录下),配置<context-root>属性指向/如下:
     
    < jboss-web >  
      < context-root > / </ context-root >     
    </ jboss-web >   
      

  3.   

    默认页配置:
    编辑\JBoss\server\default\deploy\jboss-web.deployer\conf\web.xml<welcome-file-list><welcome-file>index.html</welcome-file><welcome-file>index.htm</welcome-file><welcome-file>index.jsp</welcome-file></welcome-file-list>