cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bierenfeld <michael.bierenf...@atmiralis.de>
Subject Re: Redirecting *.xml to cocoon2 but keep static content served by apache
Date Tue, 02 Oct 2001 15:44:42 GMT
Berin Loritsch wrote:
> 
> 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".

Jep that was it. Many thanks

Regards

Michael

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message