aspose file tools
The moose likes Beginning Java and the fly likes To import class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "To import class" Watch "To import class" New topic
Author

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/PPooledConnectionClientServices.java and in my lib folder also i have com/portal/bas/PPooledConnectionClientServices.java




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


Thanks in advance
-Rajesh.v
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32654
    
    4
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: To import class
 
Similar Threads
How Portal stores user data using PortletData?
How can I get System Information of Other PCs from My PC?
object slicing .. is it possible in Java?
Problems in Deploying Portlets in JBoss 2.2 Portal + AS
Problems when trying to retreive a connection using JNDI from an Applet