cant display "<=" on page

35 views
Skip to first unread message

george

unread,
Jul 13, 2012, 11:38:40 AM7/13/12
to sitemes...@googlegroups.com
Using sitemesh 2.4 and spring framework

on our page's text field, if it contains "<=", then all characters after <= will be truncated, e.g., "123<=456" will be displayed as "123". however, "1>2" , "1<2", and "1=>2" are all fine.

I dont think its our code's problem, because the same jsp snippet page powered by the same java code in our tile implementaion shows "<=" correctly.

Anyone else experienced this?

George

Joe Walnes

unread,
Jul 13, 2012, 1:33:37 PM7/13/12
to sitemes...@googlegroups.com
Hi George

I expect the parser is being confused by this markup. Where does the '<=' appear? In most cases you probably want to use the HTML entity instead... e.g 123&lt;=456.

thanks
-Joe
Reply all
Reply to author
Forward
0 new messages