Ince,

The apache folder htdocs or wwwROOT is the folder which apache serves
its web pages from. Say your address was

  http://localhost/cocoon/GUITARS/index.html


Then the folder directory structure would look like this

  C:\Programme\Apache\apache folder where you pages are served
from\GUITARS\images\your files in here.gif

You don�t have any XML files in the guitars folder here, you have your
XML files under the tomcat cocoon folder, so:

  C:\Programme\Apache Group\Tomcat4.1\webapps\cocoon\GUITARS

You will have no images within this cocoon guitars folder.

Rich.



-----Original Message-----
From: Ines Robbers [mailto:[EMAIL PROTECTED] 
Sent: 11 March 2003 22:17
To: [EMAIL PROTECTED]
Subject: AW: Image doesn't display

Many thanks, Richard!

I have all the files under Programme/Apache Group/Tomcat
4.1/webapps/cocoon/MYFOLDER/img

I have searched for something like a htdocs or wwwROOT - but without
success.
Not sure how to search for the folder you were talking about. ?

Do you mean to save ALL my files under that directory or just the
images?

Ines



* -----Urspr�ngliche Nachricht-----
* Von: Richard Cunliffe [mailto:[EMAIL PROTECTED] 
* Gesendet: Dienstag, 11. M�rz 2003 23:05
* An: [EMAIL PROTECTED]
* Betreff: RE: Image doesn't display
* 
* 
* Ok I have had this trouble today as well.
* 
* Do you have your xml files under the cocoon folder or one of 
* your own. If so put the images into a folder like shown:
* 
* C:\Program Files\Apache Group\Apache2\htdocs\YOUR FOLDER\images
* 
* YOUR FOLDER = if you have your xml files in a folder called 
* 'guitars' under the cocoon folder then your folder would be guitars.
* 
* The htdocs folder is the folder that serves to the web from 
* apache, it might be different for you e.g. wwwROOT
* 
* 
* You then reference your images in the xsl file like so:
* 
* <img src="/YOUR FOLDER/images/backgroundpda.jpg"/>
* 
* Your images will then display when the webpage is loaded
* 
* 
* Hope this helps,
* 
* Richard.
* 
* 
* 
* 
* 
* -----Original Message-----
* From: Ines Robbers [mailto:[EMAIL PROTECTED] 
* Sent: 11 March 2003 21:54
* To: Cocoon Mailingliste
* Subject: Image doesn't display
* 
* Hello!
* 
* I have a problem displaying an image in a stylesheet:
* 
* I have read the stuff on 
* http://wiki.cocoondev.org/Wiki.jsp?* page=ServingStaticFiles 
* "Serving Static Files" but I can't 
* get it to work. It sais in the end there is another why 
* serving images through apache. How does that work?
* 
* For now I tried to generate, transform and serialize the 
* image because as is explain on wiki: "the Reader method won't 
* work for a static HTML document" 
* 
* What generator do I use to generate images?
* 
* Can anybody please help?
* 
* 
* This is what I wrote in the sitemap:
* 
* <!-- images -->               
* <map:match pattern="img">
*    <map:generate src="img" type="imagedirectory"/>
*    <map:transform src="img.xsl"/>
*    <map:serialize type="html"/>
* </map:match>
* <map:match pattern="img/**">
*    <map:read src="img/{1}"/>
* </map:match>
* 
* Many thanks!
* 
* Ines 
* 
* 
* 
* ---------------------------------------------------------------------
* To unsubscribe, e-mail: [EMAIL PROTECTED]
* For additional commands, e-mail: [EMAIL PROTECTED]
* 
* 
* 
* 
* ---------------------------------------------------------------------
* To unsubscribe, e-mail: [EMAIL PROTECTED]
* For additional commands, e-mail: [EMAIL PROTECTED]
* 
* 



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




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

Reply via email to