[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: cocoon + relative path

Subject: Re: cocoon + relative path
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Mon, 11 Nov 2002 22:17:20 +0100
cocoon mount
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.