uploadView2.jsp 646 B

123456789101112131415161718192021
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html >
  4. <html>
  5. <head>
  6. <t:base type="jquery,easyui,tools"></t:base>
  7. <script type="text/javascript">
  8. function uploadCallback(callback,inputId){
  9. var a='';
  10. $("#uploader").find("input[name='okpath']").each(function(){
  11. a+=$(this).val()+",";
  12. });
  13. return a;
  14. }
  15. </script>
  16. </head>
  17. <body>
  18. <t:webUploader name="okpath" buttonStyle="div" fileNumLimit="1" url="jeecgFormDemoController/filedeal.do"></t:webUploader>
  19. <div id="tempdiv"></div>
  20. </body>
  21. </html>