Hi all:
I have a 3 web-app applications, app1, app2, app3 deployed in weblogic 6.1
One of them, app1 is being configured as the default web-app.
hence I can access files under app1 as http://localhost:7001/x.jsp [web-app
root: /www/app1]
while I access the other ones as http://localhost:7001/app2/abc.jsp [web-app
root: /www/app2]
and http://localhost:7001/app3/xyz.jsp. [web-app root: /www/app3]

Now, assume that my abc.jsp has  images like this
<img src="/images/img1.gif"<br>
<img src="images/img2.gif">.
In the first case the full path of the image gets resolved as
http://localhost:7001/images/img1.gif. Meaning that, the requet points to an
image in the default-app while the second one actually fetches
http://localhost:7001/app2/images/img2.gif, which is the right one.

Is this how it is always supposed to behave or am I missing something here?
Is there any way to configure relative URLs starting with a "/" to point to
a web-app root of the particular web-application rather than the web-app
root of the default web-
application which happens to be the web-root on the web server also?

Any help is appreciated.
regards,
Meera Chandrasekaran

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to