xsl-list
[Top] [All Lists]

Re: cocoon + relative path

2002-11-11 14:17:20
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(_dot_)Becker(_at_)o2(_dot_)com 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



<Prev in Thread] Current Thread [Next in Thread>