Thanks for the reply..it worked..but can u please
explain why?..

Thanks for u time..

 --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: >
Looks like that instead of <map:read
> src="docs/images/{1}.gif" mime-type="image/gif"/>
> you need to use <map:read
> src="docs/images/{../1}.gif" mime-type="image/gif"/>
> 
> Note: {1} replaced with {../1}.
> 
> If it does not help, post your entire pipeline.
> 
> Vadim
> 
> > -----Original Message-----
> > From: java guru [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, July 02, 2001 16:37
> > To: [EMAIL PROTECTED]
> > Subject: funny problem with sitemap & session
> validator
> > 
> > 
> > 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:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>  

____________________________________________________________
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]>

Reply via email to