Inserting it in javasript will be the same as displaying it in jsp html code.
Try to do this:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
...
Show value is <c:out value="${show}"/>
if you can see the value in JSP then JSTL works. In any other case, another problem may arise. For example, your configuration ignores EL. You can add this at the top of your JSP:
<%@ page isELIgnored="false" %>
HTML, JSTL , Javascript. "" , ( ). ,
<script type="text/javascript">
var showVar = '<c:out value="${show}"/>';
alert("The variable show is "+showVar);
</script>
Firebug, , javascript , .