home *** CD-ROM | disk | FTP | other *** search
/ 61.19.244.139 / 61.19.244.139.zip / 61.19.244.139 / 2015-03-03 / views / upload-files.jsp < prev    next >
Text File  |  2015-03-03  |  2KB  |  58 lines

  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
  3. <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
  4. <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
  5. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  6. <div style="width:500px;padding:20px">
  7.  <form:form class="form-horizontal well" enctype="multipart/form-data"  action="uploadMultipleFile" id="frmUploadFiles"   method="POST"   >
  8.         <div class="control-group">
  9.             <label class="control-label" for="input02">  α╣Çα╕Ñα╕╖α╕¡α╕üα╣äα╕ƒα╕Ñα╣î :</label>
  10.             <div class="controls">
  11.                 <input id="fileupload1" type="file" name="file">
  12.             </div>
  13.         </div> 
  14.         
  15.         <div class="control-group">
  16.             <label class="control-label" for="input02">  α╣Çα╕Ñα╕╖α╕¡α╕üα╣äα╕ƒα╕Ñα╣î :</label>
  17.             <div class="controls">
  18.                 <input id="fileupload2" type="file" name="file">
  19.             </div>
  20.         </div> 
  21.         <div class="control-group">
  22.             <label class="control-label" for="input02">  α╣Çα╕Ñα╕╖α╕¡α╕üα╣äα╕ƒα╕Ñα╣î :</label>
  23.             <div class="controls">
  24.                 <input id="fileupload3" type="file" name="file">
  25.             </div>
  26.         </div> 
  27.  
  28.         <%
  29.             if (request.getParameter("policyNo") != null) {
  30.         %>
  31.         <input type="hidden" name="policyNo" value="<%=request.getParameter("policyNo")%>">
  32.         <%
  33.             }
  34.         %>
  35.         <button class="btn btn-success" name="saveBtn" id="saveBtn">α╕¡α╕▒α╕₧α╣éα╕½α╕Ñα╕ö</button>
  36.   <a class="btn" id="cancelBtn" onClick="$('#tableFrm').dialog('close'); return false;">α╕óα╕üα╣Çα╕Ñα╕┤α╕ü/α╕¢α╕┤α╕ö</a>
  37.   
  38.   
  39.  </form:form>
  40.  <br/>
  41.     <%
  42.         if (request.getParameter("policyNo") != null) {
  43.                     request.setCharacterEncoding("TIS-620");
  44.                     
  45.                     
  46.     %>
  47.     α╣äα╕ƒα╕Ñα╣îα╣üα╕Öα╕Üα╕üα╕úα╕íα╕ÿα╕úα╕úα╕íα╣î    <%=request.getParameter("policyNo")%><br />
  48.     <c:forEach var="listValue" items="${fileMetas}">            
  49.     <a href="getAttachedFile?policyNo=<%=request.getParameter("policyNo")%>&fileName=${listValue.fileName}&fileType=A " target="_blank">  ${listValue.fileName} </a><br />
  50.     </c:forEach>
  51.     <%
  52.         }
  53.     %>
  54.     <table><tr><td>
  55.   
  56.   <tr></table>
  57. </div> 
  58.