在weblogic下面增加虛擬目錄
修改weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="
http://www.bea.com/ns/weblogic/80
" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
" xsi:schemaLocation="
http://www.bea.com/ns/weblogic/80
http://www.bea.com/ns/weblogic/80/weblogic-web-app.xsd
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
">
? <context-root>webdoc</context-root>
? <virtual-directory-mapping>
?<local-path>c:/word/doc</local-path>
?<url-pattern>/*</url-pattern>
? </virtual-directory-mapping>
</weblogic-web-app>