choose函数的使用 +  c:when  +  test + not empty
<c:choose>
    <c:when test="${not empty banner}">
        <div class="banner industry${company.type}" style="background:url(${banner});">
    </c:when>
    <c:otherwise>
        <div class="banner industry${company.type}" style="background:url(${ staticDomain }/mall/p_w_picpaths/banner_03.gif);">
    </c:otherwise>
    </c:choose>   
   
a链接上指定JS函数
<a id="downloadsms" href="javascript:showDialog('maskDiv', 'dialogDiv');">下载到手机</a>

c:foreach函数

 <c:forEach items="${ companyProps }" var="i">
        <c:if test="${not empty i.content&&i.propCode!='gsxc'}">
            <li><a id="${ i.propCode }" href="/t-${ i.propCode }">${ i.newPropName }</a></li>
        </c:if>
 </c:forEach>
 
 fn函数
 <c:if test="${fn:length(pictures) == 0}">
                    <div class="now"><img src="${ staticDomain }/mall/p_w_picpaths/1.jpg"/></div>
                    <div style="display:none"><img src="${ staticDomain }/mall/p_w_picpaths/2.jpg"/></div>
                    <div style="display:none"><img src="${ staticDomain }/mall/p_w_picpaths/3.jpg"/></div>
                    <div style="display:none"><img src="${ staticDomain }/mall/p_w_picpaths/4.jpg"/></div>
</c:if> 



DOM JQUERY  SQL



var rnd = Math.random();

        $.ajax({ url:'/company/desc',
                data:{companyId:'${company.companyId}', type:type,rnd:rnd},
                context:this,
                success: function(result){                   
                    $('.cont_left').html('<div class="jianjie"><h2><strong>' + $(this).html() + '</strong></h2><P class="p_text">' + result + '</P>');
                    $('.nav a').removeClass();
                    $(this).addClass('cur');
                },
                complete: function(XHR, TS){
                    $("#wait").css('display','none');
                },
                beforeSend: function(){
                    $(".cont_left").html(""); $("#wait").css('display','block');
                }
        });