下拉框直接取数据库数据

<t:dictSelect field="djzclx" type="list" id="djzclx" dictTable="sjs_register_type"
dictText="zclxmc" dictField="zclxbh"
dictCondition=" where zclxbh not in ('1','2','3')"
defaultVal="${sjsCompanyApplyPage.djzclx}" hasLabel="false"
title="登记注册类型" extendJson="{'class':'form-control'}"></t:dictSelect>
原文地址:https://www.cnblogs.com/caozengling/p/6520471.html