我在.xhtml页面上有一个简单的问题。此表达式不起作用:-

<a href="Photos.jsf?albumId=#{item.albumId}&blogId=#{PhotoAlbumsCommonBean.blogId}">
 photos
</a>

我收到此错误:-
Error Parsing /Common/PhotoAlbums.xhtml: Error Traced[line: 20] The reference to entity "blogId" must end with the ';' delimiter.

这会导致某种错误。

最佳答案

尝试用&quot; _code将&符号编码为&

07-21 19:51