这两天看到了smartupload上传组建这边,但是碰到了困难,我按着教程上的步骤走在执行的时候提示Undefined type: org.lxh.smart.SmartUpload 我也确实把smartupload.jar放到了工程的lib目录下,真是费解,求助大虾们!!<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<jsp:useBean id="smartupload" class="org.lxh.smart.SmartUpload"/>
<html>
<head>
<title>smartupload</title>
</head>
<body>
<%
smartupload.initialize(pageContext) ; // 初始化上传
smartupload.upload() ; // 准备上传
smartupload.save("upload") ; // 保存文件
%>
</body>
</html>
<jsp:useBean id="smartupload" class="org.lxh.smart.SmartUpload"/>
<html>
<head>
<title>smartupload</title>
</head>
<body>
<%
smartupload.initialize(pageContext) ; // 初始化上传
smartupload.upload() ; // 准备上传
smartupload.save("upload") ; // 保存文件
%>
</body>
</html>
Multiple annotations found at this line:
- Undefined type: org.lxh.smart.SmartUpload
请教各位大侠!