portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny" <danny.g...@mms-dresden.de>
Subject AW: relative link
Date Fri, 19 Mar 2004 09:30:36 GMT
I think it isn't possible to reference files in the WEB-INF directory due to
security reasons.

> -----Ursprungliche Nachricht-----
> Von: scott [mailto:scott@macrisolutions.com]
> Gesendet: Freitag, 19. Marz 2004 01:29
> An: Jetspeed Developer Group
> Betreff: relative link
>
>
> I am trying to make an image show up in an html portlet as a
> relative img
> reference.  If I put the image in a location relative to the
> htlm file, the
> image doesn't show up in the page.  If I put the image in a
> folder in the
> jetspeed webapp directory, under tomcat,  and reference it
> here it works
> fine.  Is it possible to make make the image reference
> relative to the html
> file in an html portlet?
>
> works:
> tomcat/webapps/jetspeed/images/imagename.jpg
> reference in html is images/imagename.jpg
>
> doesn't work:
> tomcat/webapps/jetspeed/WEB-INF/mystuff/html/images/imagename.jpg
> reference in html is WEB-INF/mystuff/html/images/imagename.jpg
> or
> reference in html is images/imagename.jpg
> Neither works.
>
> Thanks!!!
>
> --
> Scott A. Macri
> Software Engineer/Director
> Macri Solutions, LLC
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message