Hello!

I am trying to build a servlet bean which uses classes in a package.
The simplest example would be a one class servlet derived from
HttpServlet, but which is in my own package (com.yell-it-out.servlets).

When I build a .jar file and drop the .jar in the servletbeans
subdirectory, I cannot install the bean using the administration tool:
JWS complains that it cannot find the class in the .jar.

Also, if I build an example where the servlet class is not in a package
but it makes use of a class which is in the package, I can install the
bean with JWS' administration tool. However, when I invoke the servelt
a ClassNotFound exception is thrown. I strongly suspect the two issues
are related.

Is there a way to install a servlet bean where the servlet class is in
a package? Is there a way for that class to invoke methods of classes
which are in packages?

I would strongly prefer to have everything in the sam .jar file and not
have to build separate library files if possible.

Thanks in advance...


=====
Reginald Braithwaite-Lee
http://www.yell-it-out.com/opportunities/shiplist1099.html
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com

___________________________________________________________________________
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