I think you should be able to use them anywhere as long as you fully quality
the classes that you are using.
Whenever you need to call a static method foo() in class FunctLib in package
com.yourdomain.www
Just refer to it in your code as:
com.yourdomain.www.FunctLib.foo();
the other way is:
<%@ page import="com.yourdomain.www"%>
on every page that needs it.
Just my 2 cents,
Abraham
-----Original Message-----
From: O'Keeffe Patrick [SMTP:Patrick_O'[EMAIL PROTECTED]]
Sent: Wednesday, October 20, 1999 4:49 AM
To: [EMAIL PROTECTED]
Subject: Importing classes
Hello,
I have a file which contains loads of definitions (static final x, static final
y, ....).
I need these definitions to be available to a JSP and to some helper classes
which the JSP imports, but I only want to define them in one place. Any ideas on
how to do this??
Many thanks,
Patrick O'Keeffe
Tertio Limited - One Angel Square, Torrens Street, London EC1V 1NY
Tel: +44 (0)171 843 4000 Fax: +44 (0)171 843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio Ltd.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html