Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 netbeans 的源包中创建了一个 java 包
我在 web 文件夹中有一个 jsp 文件
现在我想在 jsp 文件中导入这个 java 包,但我没有在导入命令中得到我的包名
导入包,
<%@ page language="java" import="yourpackage.subpackage.*,java.util.*" %>
或者,
<% yourpackage.subpackage.ClassName k=new yourpackage.subpackage.ClassName(); .... %>