0

I want to show style full CSS from my database.

#{Customization.headerCss} has value style="display:none;".

I want to show my <div> on the basis of #{Customization.headerCss} value , it will be none or block.

My code is like :

<div class="_content-title _radius-5px _ie8";"  #{Customization.headerCss} >
     <p>Hello display is block </p>
 </div>

I am getting error:

org.apache.jasper.JasperException: /cardMgmt/preview/preview.jsp(700,68) #{..} is not allowed in template text

What should I have to do?

Tiny
  • 27,221
  • 105
  • 339
  • 599
unknownbits
  • 2,855
  • 10
  • 41
  • 81

1 Answers1

0

I got solution of it : $ in place of #

<div class="_content-title _radius-5px _ie8";"  ${Customization.headerCss} >
    <p>Hello display is block </p>
 </div>
unknownbits
  • 2,855
  • 10
  • 41
  • 81