Michael Bierenfeld wrote:
> 
> Hi there,
> 
> :-) I am getting closer. JBOSS integrated. Still not finished but there
> is some light on the horizon. I habe created a logicsheet ejblogic.xsl,
> modified cocoon.xconf, created my own sitemap and using a specific
> stylesheet together with the content files -> works fine.
> 
> When I use the following xml content :
> 
> <img height="1" src="../../images/else/clearpixel.gif" width="5"/>
> 
> When I transform this to html and access it with
> "http://localhost:8080/cocoon/Projekts/content.xml"; the image
> "../../images/else/clearpixel.gif" is evenso served by tomcat/cocoon.
> 
> Does anybody know how I can get rid of that. Of course without the need
> of using "http://localhost/<path_to_image>/clearpixel.gif" I have approx
> 150 pages.

In your WEB-INF/web.xml file, change the mapping from "/" to the various
things you want mapped to Cocoon.  In your example you would use "*.xml".
I personally use the correct extension for the resource type generated.
If I am generating HTML from my XML, I would map "*.html" and have cocoon
server the resource.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to