How to send value from Expression Language to Javascript?

I use Struts 1.3, JSTL, jQuery 2.x,
I try to pass value from EL to Javascript, to set default value for drop-down list:


(not work)


(it works, but I must set value from ${estateProfileDTO.provinceId}, not static value. )

<div class="large-8 columns">
    <s:select property="provinceId" styleId="provinceId">
        <s:option value=""></s:option>
        <s:options collection="listProvince" property="provinceId" labelProperty="name"/>


Source: jsp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.