Your ClassPath variable must content the path to the file that contents
your class. I think you can also write the whole path in the code as:
<%@ page import="dir1\dir2\dir3\travel.*" %>
Hope this helps...
Fran
> -----Mensaje original-----
> De: panos periorellis [SMTP:[EMAIL PROTECTED]]
> Enviado el: lunes 14 de enero de 2002 15:59
> Para: [EMAIL PROTECTED]
> Asunto: 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
===========================================================================
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