cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkropotova <>
Subject Re: Accesing url params in flow using servlet: protocol Cocoon 2.2
Date Tue, 18 Mar 2008 17:39:31 GMT

Thanks for the reply.

I did have a look at RawRequestParameterModule, but it doesn't
doesn't keep URL encoding and returns spaces instead.

I did try an alternative/hack which seems to work. Instead of <map:part
src="servlet:/some_pipeline/{1}/{2}?q={raw-request-param:q}"/> I have used

It seem to work. Hope that helps someone!

Rainer Pruy wrote:
> Hello,
> please keep in mind, that using map:part will cause a new (sub) request.
> This (sub) request does not inherit any parameters from current request.
> If you want access to your current (external) request parameter "q", you
> must pass it with your src="" URL
> e.g in your case <map:part
> src="servlet:/get_ids_for_solr/{1}/{2}?q={raw-request-param:q}"/>
> However, you might have a look at thread "C2.2: undecoded URI params", as
> I'm experiencing problems passing URI reserved or disallowed
> characters (e.g. <space>) this way.
> regards
> Rainer

View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message