tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Kindler" <>
Subject relative paths and c:import
Date Mon, 21 Nov 2005 12:06:02 GMT
I am trying to integrate a Java/Struts webapp with another web site (based
on Typo3, a PHP-based CMS).

Some of my JSP-pages will integrate pages controlled by Typo3. I tried to
use the c:import tag which basically
seems to work: the page is fetched and the HTML-code inserted into my
Struts-controlled page.
But: relative URLs (especially images) are now relative to my context,
meaning they are broken.
The Typo3 site will be on another server than the Struts site.

So, saying the URL of my Struts action is


<c:import url=""/>

is part of the JSP, relative paths from myTypo3Page.php like <img
which should be interpreted as will be interpreted as

I tried the "context"-attribute (which seems only to work for other
container based apps) and explicitly specifying a base-tag in my Typo3 page
(soes not work).

Can someone please help me?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message