• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

unable to configure context-root for the static images folder

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Is this the real life? Is this just fantasy? Is this a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic