我自定义了一个dynamic function,拖到界面上时,直接就看不到了。。刷新下可以看到,不过一会就没了。。
这是我的jsp代码:
<%@page buffer="none" session="false" import="com.hf.fileupload.FileLoad" trimDirectiveWhitespaces="true" %>
<%@taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>
<%
String param = request.getParameter("param");
System.out.println("param = " + param);
if ("uploadFile".equals(param)) {
String savePath = this.getServletConfig().getServletContext().getRealPath("");
upload.upload(request, response, savePath);
}
%>
/cms:link"/>
$(function() { $('#file_upload').uploadify({ height : 30, swf:"<cms:link>../resources/uploadify.swf</cms:link>", uploader:"<cms:link>upload.jsp?param=uploadFile</cms:link>", width : 120 }); });来人帮忙看看啊啊!!!
大虾们 来看看啊 给点建议啊。。。