cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lewis" <>
Subject raw-request-param
Date Thu, 25 Nov 2004 17:14:51 GMT
Hello Cocooners,

I am implementing a search engine for my Cocoon site as a Java servlet.
All Cocoon has to do is send the search terms from an HTML form to the
servlet and then send the results through a stylesheet:

<map:match type="request-parameter" pattern="search">
    src="http://localhost/search?terms={raw-request-param:search}" />

It works, except when the request parameter 'search' has a space in it,
it is passed on as "term1 term2" where it should be "term1+term2". This
causes the sitemap to break because there is a space in the map:generate
src URI above.

Does anyone know whats wrong with this?


  Richard Lewis

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

View raw message