what is the package of the "helper" class

> -----Original Message-----
> From: Muthukumaran [SMTP:[EMAIL PROTECTED]]
> Sent: 19 August 2002 04:19
> To:   [EMAIL PROTECTED]
> Subject:      Helper Class placing path problem
>
> Hi,
>
> I am having a problem in deploying a helper class for a servlet deployed
> in
> TOMCAT
> can anyone please let me know if I am at fault?
>
> Servlet is placed as                                            :
> e:\tomcat401\webapps\examples\WEB-INF\Classes\ShowPendQueries.class
> Helper Class which is instantiated in above servlet is placed at        :
> e:\tomcat401\common\classes\CustomerQueries.class
>
> when the servlet is executed in browser, I get Exception as
>
> EXCEPTION
> javax.servlet.ServletException: Cannot allocate servlet instance for path
> /examples/servlet/ShowPendQueries
>
>
> ROOT CAUSE
> java.lang.NoClassDefFoundError: common/classes/CustomerQueries
>
> I tried out placing the hepler class in the same class as that of servlet
> and even worse, servlet did not compile due to path error
> then I went through the docs of TOMCAT to find that the classes referred
> in
> Servlets can be placed in common->classes directory and i tried
> the same in vain
> Thanks in advance for valuable suggestions
> Rgds
> Muthukumaran
>
> __________________________________________________________________________
> _
> 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
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

___________________________________________________________________________
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