Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To import class

 
Rajesh Veluchamy
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic