Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » Root path and absolute paths
Root path and absolute paths [message #77152] Tue, 28 September 2004 23:27
PsychoCrow
Messages: 1
Registered: September 2004
Junior Member
Hi,
I made a web application that works fine with Tomcat 4.1.27.
Now I have to deploy it to IAS 9.0.4.
I created an OC4J instance (bShop) with the relative URL path (/bShop), than I deployed the WAR file.
After the deploy I renamed the servlet path from "/servlet/" to "/" and I added two virtual path: /images (C:oracleORACLE_IAS_904j2eebShopapplicationsbShopbShopbComimages) and /articles (C:oracleORACLE_IAS_904j2eebShopapplicationsbShopbShopbFilesarticlesPDF)
in the following two sections:
- Farm > Application Server: Oracle_IAS_904.app-server > OC4J: bShop > Web Module: Global Web Module > Properties
- Farm > Application Server: Oracle_IAS_904.app-server > OC4J: bShop > Application: bShop > Web Module: bShop > Properties

All works fine, but I have some HTML pages that have hard-coded path to images that are not displayed.
For example: /images/home/home_head.jpg
In fact, looking at the path from the browser I see that the image path is

http://app-server/images/home/home_head.jpg

rather than

http://app-server/bShop/images/home/home_head.jpg.

So, where is my fault?
Thanks in advance for any suggestion.

PC
Previous Topic: ora-29276 transfer timeout
Next Topic: Implmentation Distributed Database.
Goto Forum:
  


Current Time: Mon Nov 25 09:15:19 CST 2024