Hi.,
The debug "guru" of cocoon2 is the log..As you might
already know, everything(well almose) the passes thru
cocoon2 is logged..
So check the log bottom up would give u idea of
whats going on with ur jpg's..
good luck
--- Chris Newland <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying to add a map:match to my sitemap to fetch
> images but they are not
> fetched (my fault, Cocoon2 is working great)
>
> Location of my files:
>
> tomcat/webapps/cocoon/docs/samples/pages/my_page.xsp
>
tomcat/webapps/cocoon/docs/samples/images/my_image.jpg
> tomcat/webapps/cocoon/stylesheets/my_xsl.xsl
>
> sitemap entries:
>
> <map:match pattern="pages/*">
> <map:generate type="serverpages"
> src="docs/samples/pages/{1}.xsp"/>
> <map:transform src="stylesheets/my_xsl"/>
> </map:match>
>
> (loads + processes XSP page fine)
>
> <map:match pattern="images/**.jpg">
> <map:read src="docs/samples/images/{1}.jpg"
> mime-type="image/jpg"/>
> </map:match>
>
> (does not return the image)
>
> The returned HTML contains:
>
> <img src="images/my_image.jpg">
>
> As far as I can see, this is the same way that the
> cocoon.gif image is
> fetched from samples.xml but I can't see what I'm
> doing wrong.
>
> Any help would be appreciated.
>
> Thanks,
>
> Chris
>
> --
> Chris Newland
> Software Research Engineer
>
> Emorphia Ltd
> Registered in England. 4133002
> Mill House, Station Approach, Harlow Mill, Harlow,
> Essex, CM20 2EL, UK
>
> Email: [EMAIL PROTECTED]
> Tel: +44 (0)1279 450100
> Fax: +44 (0)1279 450102
>
> Check out FIPA-OS at http://fipa-os.sourceforge.net/
>
> This message may contain information proprietary to
> Emorphia so any
> unauthorised disclosure, copying or distribution of
> its contents is strictly
> prohibited.
>
>
>
>
---------------------------------------------------------------------
> 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]>
>
=====
Thanks and have great day
srini
____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
---------------------------------------------------------------------
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]>