Re: [xsl] cocoon + relative path

Subject: Re: [xsl] cocoon + relative path
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Mon, 11 Nov 2002 22:17:20 +0100
Please ask such Cocoon specific questions on the Cocoon users mailing list: http://xml.apache.org/cocoon/mail-lists.html.

The answer:
You must add a matcher into the sitemap. Cocoon does not work with directories or in other words "The apparently server directory structure is independent from the file system." Everything is mapped.


Joerg

Johannes.Becker@xxxxxx wrote:
Hi,

I'm struggling with my relave paths in cocoon. e.g. : <img src="
./images/water.gif"/>.
 Running the xsl/xml from cocoon, it doesn't find the image. Running it
without the cocoon framework the output is ok.

Or for example: <form name="frmLogin"  method="post" action="passw.jsp">
 This produces the error:

Cocoon 2 - Resource not found

type resource-not-found

message Resource not found

description The requested URI "/cocoon/mount/fraud/passw.jsp" was not found.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/mount/fraud/passw.jsp

path-info

mount/fraud/passw.jsp


But the passw.jsp is in the same folder. What am I doing wrong?


Thanks Jonny


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread