hi!
check your web.xml <servlet-class> entry for DatabaseServlet. verify
whether you entered the correct class name+package.

-mw

At 13:55 19.04.2002 +0300, you wrote:
>Hi,
>
>I'm using a HTML form to run my servlet. I'm  using this HTML page to send
>a parameter to my servlet, and servlet will receive this parameter,
>connect a MS access database, execute a query and send results. When I
>want to run my application I received following error message. What is wrong?
>
>Any ideas or suggestions would be appreciated.
>-----------------------------------------------------------------------------------------------------------------------
>
>
>
>Error: 500
>
>
>
>
>
>Location: /database/servlet/DatabaseServlet
>
>
>
>Internal Servlet Error:
>
>java.lang.NoClassDefFoundError: DatabaseServlet (wrong name:
>DatabaseServlet/DatabaseServlet)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
>         at
> org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Unknow
> n Source)
>         at
> org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Unknown
>   Source)
>         at
> org.apache.tomcat.util.depend.DependClassLoader12$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
>         at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown Source)
>         at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
>         at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
>         at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
>         at org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
>         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
>         at
> org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
> Source)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:472)

___________________________________________________________________________
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