title: draw html in java not javascript
body: <p>let say I have  </p>
  
  <pre><code>@RequestMapping(value = "/app/minfoManagementdetail.do", method = RequestMethod.POST)
      public String detailMinfoManagementPost(@ModelAttribute("searchPageNavigationVO") SearchAppVO searchAppVO, 
              HttpServletRequest request, Model model) throws Exception {
  
          List&lt;EgovMap&gt; attachList =  (List&lt;EgovMap&gt;) amtAppMonitAtchFileService.selectAppMonitAtchFiles( searchAppVO.getFindMonitSn());
  
  
  }
  </code></pre>
  
  <p>I want to draw this attach List at minfo.jsp</p>
  
  <pre><code>&lt;div class="attachFileList" id="attachFileList" style="display: none;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>actually I want to perform this </p>
  
  <pre><code>for (i = 0; i &lt; Object.keys(resultDetail.amtBrdTblAtch).length; i++) {
      html += "&lt;a href='/file/download.do?type=brd&amp;sn="+resultDetail.amtBrdTblAtch[i].atchFileSn+"'&gt;"+resultDetail.amtBrdTblAtch[i].orgFileNm+"&lt;/a&gt;&lt;br/&gt;";
                                  }
  $("#attachFileList").html(html);
  </code></pre>
  
  <p>action in java not in javascript.
  is it even possible? </p>