struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Naskovski <>
Subject Re: AW: Can I have a &nbsp; _not_ URL encoded?
Date Tue, 01 Jul 2003 07:43:17 GMT
Hi Samuel - unfortunately no. I looked through the source code, I do
not see how one could turn off (by a switch of some sort) url
encoding. As a matter of fact, there is an unanswered FAQ questions
that asks "Why is it not possible to disable URL encoding in Struts?"
- so it isn't even asking HOW, but WHY - which means, it is _not_
possible (more than likely).

Then again, I don't profess to know all of struts intricately, so
there _may_ be a way, I just wish someone who knows more about this
issue would chime in.

Searching the archives on URL encoding does not yield anything worthy
of consideration (or at least you couldn't get through the results in
1 week of 24/7 reading, as those two words appear too frequently).


Tuesday, July 1, 2003, 12:26:22 AM, you wrote:

SOBtsc> Yes I have the same problem. Were you able to silve it?

SOBtsc> Sam

SOBtsc> -----Ursprungliche Nachricht-----
SOBtsc> Von: Martin Naskovski []
SOBtsc> Gesendet: Dienstag, 1. Juli 2003 08:12
SOBtsc> An: Struts Users
SOBtsc> Betreff: Can I have a &nbsp; _not_ URL encoded?

SOBtsc> I have a LabelValueBean, and the Label property contains spaces.
SOBtsc> However, they do not get encoded into &nbsp;'s. If I actually include
SOBtsc> the &nbsp; tag, I get a '&nbsp;' on the screen verbatim :), instead of
SOBtsc> what I really wanted - a space.

SOBtsc> Is this some catch-22 or is there really a way to specify a
SOBtsc> &nbsp; for a label property in a LabelValueBean? Can the ampersand be
SOBtsc> escaped somehow??? Thanks :).

SOBtsc> Martin

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

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


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

View raw message