Why do ampersands (&) need to be encoded in JSF? Is there a way around this?

后端 未结 4 1687
耶瑟儿~
耶瑟儿~ 2020-12-01 23:34

I often have Javascript on my JSF XHTML pages that has && in it, which I end up having to encode as &&

For example, when I place

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 00:35

    FYI, I tried to write the (c) character in my JSF page. An error was raised when I wrote © : "copy is referenced but not declared" When I wrote © I got the raw string back.

    I could display the special character using the unicode notation : ©

提交回复
热议问题