cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject funny problem with sitemap & session validator
Date Mon, 02 Jul 2001 20:37:23 GMT
Hi.,
1. The following match pattern is used in examples to
read/generate the image/file requested as {1} 

   <map:match pattern="images/*.gif">
    <map:read src="docs/images/{1}.gif"
mime-type="image/gif"/>
   </map:match>


2. Say for example, i need to serve the page/image
after i validate the user session. So I have included
the above match pattern inside the session validator
action.

3. But i am having problem serving the page/image.
Cocoon2 is not able to get the name of page/image
requested by {1} anymore and its looking for something
like ".xsp" or ".gif" and failing to locate obviously.

Any input in this regard is highly appreciated..


  

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


Mime
View raw message