weblogic 虚拟目录映射

 

weblogic.xml:

<wls:virtual-directory-mapping>  
        <wls:local-path>/data2/u01/image_dest</wls:local-path>  
        <wls:url-pattern>/images/*</wls:url-pattern>  
        <wls:url-pattern>*</wls:url-pattern>
</wls:virtual-directory-mapping>


 

页面访问:

<img src="images/picName"></img>


 

你可能感兴趣的:(weblogic)