<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>
之后,在web.xml的welcome-file中指定一個跳轉頁面比如是index.jsp,之后想默認跳轉到任何應用都可以通過這個跳轉頁進行。
<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>
監聽80端口,需要在相關域下面的config目錄中修改config.xml,例如:
<server>
<name>demo</name>
<listen-port>80</listen-port>
<listen-address>192.168.1.2</listen-address>
</server>
默認端口不是80,只需要將listen-port改成80即可。
<name>demo</name>
<listen-port>80</listen-port>
<listen-address>192.168.1.2</listen-address>
</server>
---------------------------------------------------------
專注移動開發
Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian