In my Spring MVC project I am getting the one Boolean variable as a model attribute from the controller in my JSP view. based on the Boolean variable's value I have to execute the Js code. So I am comparing the value in the if statement. but it is not giving me the correct output:In my Spring MVC project I am getting the one B