Leon,

I've set up a directory structure for this app exactly like the servlet
examples structure and after making changes to web.xml I'm recieving the
following root cause error:

java.lang.NoClassDefFoundError: TestingServlet (wrong name:
myApp/TestingServlet)

Is your TestingServlet class in a package? If so, you need to give the fully-qualified class name in your web.xml file.

If it's not in a package, I've heard many reports that it simply won't work :(

Try putting your servlet class into a package, updating your web.xml file and trying again.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to