Model view controller 使用自定义标记库动态生成html表单是否是一种好的做法?

Model view controller 使用自定义标记库动态生成html表单是否是一种好的做法?,model-view-controller,custom-tags,Model View Controller,Custom Tags,我使用的是MVC体系结构,我使用了自己的自定义标记库和JSTL,它们将动态生成表单、gridList。这是一种适当的做法吗。它对性能有影响吗 <c:forEach items="${uiFieldList}" var="u" > <div class="span5"> <div class="control-group"> <label class="control-label" ><spring:message code

我使用的是MVC体系结构,我使用了自己的自定义标记库和JSTL,它们将动态生成表单、gridList。这是一种适当的做法吗。它对性能有影响吗

<c:forEach items="${uiFieldList}" var="u" >
 <div class="span5"> 
    <div class="control-group">
    <label class="control-label" ><spring:message code="${u.fieldLabel}" /><c:if test="${u.mandatory =='Y'}"><strong style="color:red;">*</strong></c:if></label>
    <div class="controls">
      <div class="input-prepend">
      <iana:text name="${u.name}" id="${u.id}" value="${u.value}" ></iana:text>
    </div>

      </div>
  </div>    
 </div>

*

有什么建议吗