> I am a new user to JetSpeed and am having difficulties in displaying images
> in my jsp
> My web structure is
> WEB-INF
>             FrontOffice
>                         Images
>                         Jsp
>                                     Portlets
>                                     html
If your structure is really like this, the images folder can't be used. The 
whole WEB-INF folder is invisible for the web server (test it: call 
localhost:8080/jetspeed/WEB-INF or so, it won't be found, althought it's 
there). You need to have images outside of WEB-INF. There is actually an 
images folder in jetspeed - best use this.
If you want to use a path relative to your JSP, then remember that the path of 
the JSP for the web server is not something like WEB-INF/templates/jsp... but 
the URL you actually call, e. g. localhost:8080/jetspeed/portal. The relative 
URL for the images folder (the jetspeed one, outside WEB-INF) would then be 
images/myimage.jpg, which "translates" to 
localhost:8080/jetspeed/images/myimage.jpg.
HTH
Stefan
>
>
> I have correctly configure the TurbineResources.properties and
> JetspeedResources.properties as my jsp is being displayed.
>
>
>
> However, my image is not being displayed
>
>
>
> I have tried the following html
>
>
>
> <img src="../../../images/NGLogo.gif" width="204" height="77">
>
>
>
> and
>
>
>
> <img src="/images/NGLogo.gif" width="204" height="77">
>
>
>
> and
>
>
>
> <img src="/FrontOffice/images/NGLogo.gif" width="204" height="77">
>
>
>
> but with no success.
>
>
>
> Could someone please advise me on how to display images within my own
> images folder.
>
>
>
>
>
>
>
> Regards
>
>
>
> Rob Shorney
>
> PDS - Local Government - Front Office Development Team
>
> Northgate Information Solutions
>
> ---------------------------------------------------------------------------
>- --------
>
>
>
>
>
>
> This email is sent on behalf of Northgate Information Solutions UK Limited
> ("Northgate") and is strictly confidential and intended solely for the
> addressee(s).  It may contain personal and confidential information and as
> such may be protected by the Data Protection Act 1998.
>
> If you are not the intended recipient of this email you must: (i) not
> disclose, copy or distribute its contents to any other person nor use its
> contents in any way or you may be acting unlawfully;  (ii) contact
> Northgate immediately on +44 (0)1442 232424 quoting the name of the sender
> and the addressee then delete it from your system.
>
> Any views or opinions expressed within this email are those of the author,
> and do not necessarily represent those of Northgate.
>
> Northgate has scanned this email for viruses but does not accept any
> responsibility once this email has been transmitted.  You should scan
> attachments (if any) for viruses.

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-5092


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to