How do you import the packages in the JSP?
Answers were Sorted based on User's Feedback
Answer / manas banerjee
<% @ page import = 'package name.class name' %>
suppose we have a package name x and we have a bean (under
the package x)class/class y then you have to write
<% @ page import = 'x.y' %>
Is This Answer Correct ? | 35 Yes | 15 No |
Answer / ullas v
<%@ page language="java"
import="java.sql.*,
com.sixdee.dao.configurationDAO.*,
com.package.common.reports.Report,
java.util.ArrayList"
errorPage="../common/errorPage.jsp"
%>
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / winston watson
<%@page import="mypackage.*, otherpackage.MyClass"%>
With packages under WEB-INF/classes for classes and the
source in packages under src
Is This Answer Correct ? | 13 Yes | 5 No |
Answer / abinaya
<% @ page import="java.io.*,java.sql.*,java.util.*"%>
Is This Answer Correct ? | 7 Yes | 1 No |
Which directive is used in jsp custom tag?
What is jsp in html?
What is jsp and its architecture?
hi i m tannu and i m developing one web site as my project and i have created one chatting application using applet and socket it run perfactly using netbeans5.5 and appletviewer but when i run on browser it doent run i put it class file in jar file then call by jsp when it load in browser it stop on applet started plz help me soon
Define jsp declaration?
How to create menu in jsp with example?
What are the different types of directives available in jsp?
What is jsp and its features?
What are the elements of a jsp page?
What are context initialization parameters?
How do you connect to the database from jsp?
What is jsp index?