刚接触javaweb,期末作品中刚好想做个图片分享的作品,按课本用到了jspsmartupload组件,我放在tomcat服务器下webapps目录。在myeclipse中 <%
SmartUpload smart = new SmartUpload();
smart.intialize(pageContext);
smart.upload();
smart.save("upload");
%>
SmartUpload关键字提示出错,Multiple annotations found at this line:
- SmartUpload cannot be resolved to
a type
- SmartUpload cannot be resolved to
a type
SmartUpload smart = new SmartUpload();
smart.intialize(pageContext);
smart.upload();
smart.save("upload");
%>
SmartUpload关键字提示出错,Multiple annotations found at this line:
- SmartUpload cannot be resolved to
a type
- SmartUpload cannot be resolved to
a type
我把SmartUpload包放在tomcat的lib里面了,然后<%@ page language="java" pageEncoding="GBK" import="java.util.*,com.jspsmart.upload.*"%>
<%
是这样么?