It is not important to jar the package. What is important is that the classes should be located in WEB-INF\classes\<PackageName> folder.
Just put all your classes over there and things will work. --- "Ramaswamy, Rathnapriya (CORP, GTS, L531741)" <[EMAIL PROTECTED]> wrote: > Why don't you jar the package and add it to the > classpath???? > > -----Original Message----- > From: panos periorellis > [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 9:29 PM > To: [EMAIL PROTECTED] > Subject: Importing classes > > > I have developed some java classes which i want to > import in my JSP code.. > > can somebody tell me how do i do this. > > i have a list of classes in a package called travel > > but > > this <%@ page import="travel.*" %> produces errors. > In fact it says that the > package cannot be found? > Anyone with similar problems? > thanks > P > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > > "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS > INTENDED ONLY FOR THE > ADDRESSEE and may contain confidential and > privileged information. > If the reader of this message is not the intended > recipient, > you are notified that any dissemination, > distribution or copy of this > communication is strictly Prohibited. > If you have received this message by error, please > notify us > immediately, return the original mail to the sender > and delete the > message from your system." > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
