Hi All!

Thanks all you who are rushing to reply!  I think I found the mistake - I
didn't declare the constructor 'public'...

But is there an alternative?

Thanks,
Mark

> -----Original Message-----
> From: Mark Foley [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, 18 October 1999 16:08
> To:   [EMAIL PROTECTED]
> Subject:      Class constructors in external classes...
>
> Hi All!
>
> We are experiencing another problem (so what's new?).
>
> We have common classes located outside the /servlets/ directory of
> WebSphere, but on the WebSphere Classpath, and as long as the classes have
> no constructor (i.e. use the default constructor) we can use them.
> However,
> if the class has it's own constructor, we get an IllegalAccessException.
>
> Can anybody explain?   Is there a way to use classes outside the
> /servlets/
> directory?
>
> We think we need to do this, because our JNI using classes are outside the
> /servlets/ directory, and they use some of these common classes.
>
> Thanks for any help,
>
> Regards
> Mark Foley
> EDS (Australia)
> [EMAIL PROTECTED]
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to