当前位置: 代码迷 >> Weblogic >> 100求weblogic 8.1一个有关问题
  详细解决方案

100求weblogic 8.1一个有关问题

热度:7336   发布时间:2013-02-26 00:00:00.0
100求weblogic 8.1一个问题
我想直接通过IP地址访问页面,如http://10.0.0.121/就可以访问到index页面
而不是http://10.0.0.121:7001/webapp/index.jsp
要怎样配置才能这样访问,我的weblogic版本是8.1的,
主要是webapp要怎样去掉,端口没问题

????????
------解决方案--------------------------------------------------------
想不输入端口 ?  可以啊

将weblogic的默认端口改成80就可以了 ,前提是如果你的web服务器是在windows平台下的话

那么先把IIS服务停了, 否则就冲突了。



------解决方案--------------------------------------------------------
http://10.0.0.121/console 下面可以修改!
------解决方案--------------------------------------------------------

------解决方案--------------------------------------------------------
config.xml里    <Application Name="WebContent" Path="D:\outsand\SOURCE\WebContent"
        StagingMode="nostage" TwoPhase="true">
        <WebAppComponent Name="WebContent" Targets="myserver" URI="/"/>
    </Application>
将path里的内容改成你的文件路径
------解决方案--------------------------------------------------------
帮顶
------解决方案--------------------------------------------------------
1。将端口改为80
2。在weblogic.xml中将contex-root设置为/
  <weblogic-web-app>
     <context-root>/</context-root>
  </weblogic-web-app>
3。在web.xml中设置
     <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
     </welcome-file-list>

然后重新启动服务,你就开源通过 http://localhost 来访问你的index.jsp页面了
------解决方案--------------------------------------------------------
楼上的都说了...
  相关解决方案