Jan:

I had the same problem before, please check how you are sending the parameter 
in the page where you create the parameter that you send to this page. I 
guess you are sending the parameter with the "\n" from this page. 

Antonio Gallardo


El Lunes, 19 de Agosto de 2002 22:38, Jan Willem Penterman escribió:
> In an xsp sheet I merge two strings to what's to become an URL attribute
> in a href:
>
> ..
> <xsp:logic>
>       String path=<xsp-request:get-parameter name="path"/>;
>       ..
> </xsp:logic>
> ..
> ..
> <esql:row-results>
>       <category>
>               <path><xsp:expr>path</xsp:expr>,<esql:get-string
> column="id"/></path>
>               ..
>       </category>
> </esql:row-results>
> ..
>
> But instead of getting nice values like "?path=1,6,29" I get
> ?path=1%0D%0D%0A%09%09,6%0D%0A%09%09,29
> I guess the source of trouble is the xsp-request:get-parameter, which
> every time adds the weird characters to my "path" String. The not so bad
> news about it is that it still works fine! However, I also had this
> trouble before where ot resulted in path errors. Anyone knows what I can
> do about it?
>
> JW
>
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to