Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To import class  RSS feed

 
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: 53756
127
  • 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
Boost this thread!