cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject RE: funny problem with sitemap & session validator
Date Mon, 02 Jul 2001 21:18:00 GMT
Thanks for the reply..it worked..but can u please
explain why?..

Thanks for u time..

 --- Vadim Gritsenko <vgritsenko@hns.com> 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:javacocoon@yahoo.co.in]
> > Sent: Monday, July 02, 2001 16:37
> > To: cocoon-users@xml.apache.org
> > 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:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
>  

____________________________________________________________
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