File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes To import class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "To import class" Watch "To import class" New topic

To import class

Rajesh Veluchamy
Ranch Hand

Joined: Jan 15, 2008
Posts: 47
I am using Jrun server. I have included basacAll.jar file, which contains com/portal/bas/ and in my lib folder also i have com/portal/bas/

now according to the above code "PPooledConnectionClientServices" will use which one.

Thanks in advance
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 37900
After the package declaration and before the "public class" bit:

import com.portal.bas.PPooledConnectionClientServices;//or correct spelling

You may need to use a -cp option when you run or compile the class. Go to this page and click the "java" and "javac" boxes for more information.
wood burning stoves
subject: To import class
Similar Threads
Problems when trying to retreive a connection using JNDI from an Applet
object slicing .. is it possible in Java?
How Portal stores user data using PortletData?
Problems in Deploying Portlets in JBoss 2.2 Portal + AS
How can I get System Information of Other PCs from My PC?