I am trying to add a jar that is in my current path.  It doesnt seem to work based on what I have been reading up on.

This is what I have tried, it is commons httpclient by the way.

sys.path.append('commons.jar')

from thepackagename import TheClass

I get an error:

ImportError:

...
...
I tried this:

sys.add_package('thepackagename')

and then I still tried to do the above.

What am I missing?

I have also tried the absolute path, still not working?