Link tag uses a java.net.URLEncoder, to encode the resulting URL. That's the
class to blame for the plus signs. Whether that encoding should be used or
not falls out of my scope, but I'm actually against using spaces in URLs...



-----Mensaje original-----
De: samyem [mailto:[email protected]] 
Enviado el: lunes, 30 de marzo de 2009 21:26
Para: [email protected]
Asunto: [Stripes-users] Plus in Links

Hello all,
I am fairly new to stripes. I am getting an issue where:

<stripes:link beanclass="${actionBean.class}">
 <stripes:param name="param" value="${var}"/>
  Link
</stripes:link>                         


if ${var} returns a string with space, it adds a + for the strings. Is there
a
way not to add those +? I would rather want it to replace the space with %20
instead of a plus sign, which is breaking my application logic.

Thanks,
Samyem



----------------------------------------------------------------------------
--
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to