I'm trying to pass a parameter to flex:
<embed name='costsProject' src='CostsOfProject.swf' height='800%' width='600%'
pluginspage='http://www.adobe.com/go/getflashplayer'
flashVars='projectId=#{cep_TBModelBean.projectId}'/>
But I get this error:
[ServletException in:../pages/gestioncep/viewTB/viewTBContent.jsp] javax.servlet.jsp.JspException: org.apache.jasper.JasperException: /pages/gestioncep/viewTB/testCost.jsp(14,163) #{...} is not allowed in template text'
When I write flashVars='projectId=292'
, it's ok and I get the result.
How is this caused and how can I solve it?