dcsimg
Absolute versus Relative URLs
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rodrigo_Oliveira
Posted On:   Saturday, May 20, 2006 07:32 AM

I am using AJAX to show JSP from one domain (i.e. www.domain1.com/index.jsp ) in an HTML page from another (i.e. www.domain2.com/index.htm ) and I can't display images from the JSP web page because of absolute URLs declared on it (like " image.gif " instead of " http://www.domain1.com/image.gif "). Do I have to "pre-format" the whole JSP page after receiveing the HTTP response, changing absolute for relative URLs? Or is there an easy way to do this?



Thanks for you ALL, guys!

Correcting the question...

Posted By:   Rodrigo_Oliveira  
Posted On:   Saturday, May 20, 2006 08:02 AM

Sorry. When you read "absolute" in this question, it's "relative" and vice-versa. But the question is still unanswered. I'm waiting for your help :-)
About | Sitemap | Contact