Hello all,

I have problem with package statement that works well in my beans, but
does not work when i put in default servlet directory, in my case
c:\jrun\servlets
i'm sorry if i post it in the wrong list because currently i'm using
jrun as the servlet engine..

for make it simpler, i'll use HelloWorldServlet
I guess all of you is familiar with HelloWorldServlet,
for example, in jrun 2.3.3, it's in c:\jrun\servlets

i modified HelloWorldServlet.java, add
package com.dion;
i already have that package directory in NT & Jrun Classpath,
re-compiled it again successfully (means that javac find that package
successfully, right?)

but when i tried it on browser
http://dion/servlet/HelloWorldServlet

the browser generates error saying that NoClassDefFoundError..

why does it happen? is it because the HelloWorldServlet.java is not
located in the same directory with com.dion ?
how to make it works ?

thanks in advance.

--
Best regards,
 dion                          mailto:[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to