views:

118

answers:

1

i have created a java package in source packages in netbeans

i have a jsp file in a web folder

now i want to import this java package in jsp file but i am not getting my package name in import command

+4  A: 

Import package,

<%@ page language="java" import="yourpackage.subpackage.*,java.util.*" %>

or,

<%
 yourpackage.subpackage.ClassName k=new yourpackage.subpackage.ClassName();
 ....
%>
adatapost