posted 12 years ago
Hi All,
I have deployed web application finance.war -- successfully deployed
the website also contains number of images -- These images are in a
/u01/Oracle/Middleware/user_projects/domains/base_domain/applications/DefaultWebApp
[oracle@app1 DefaultWebApp]$ ls -ltr
total 8
drwxr-xr-x 29 oracle oinstall 4096 Nov 21 13:51 images
drwxr-xr-x 2 oracle oinstall 4096 Nov 21 14:15 WEB-INF
images folder contains sub-directories. and they contain jpg, gif files etc..
so, when i type my hostname:port/ -- I am unable to point to images directory..
i configured web.xml & weblogic.xml files in WEB-INF folder.
[oracle@app1 WEB-INF]$ cat weblogic.xml
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<context-root>/</context-root>
</weblogic-web-app>
[oracle@fl1dvmatgapp1 WEB-INF]$ cat web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
</web-app>
can anybody help me on this? Please let me know where I am doing wrong??