portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scott <sc...@macrisolutions.com>
Subject Re: AW: relative link
Date Sat, 20 Mar 2004 17:24:21 GMT
Then how am I supposed to make a link to a relative file or image?

On Friday 19 March 2004 04:30 am, Danny wrote:
> 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

-- 
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


Mime
View raw message