WEB-INF/classes & WEB-INF/lib/* dirs are in the Classpath by default.


"dinesh" wrote:
>
>I tried to add the servlet to the classpath with the following command:
>
>software\burnaby>java -cp -classpath c:\bea\user_projects\infologic1\application
>s\BibleApp\WEB-INF\classes\com\brainysoftware\burnaby\ControllerS ervlet.class
>
>Exception in thread "main" java.lang.NoClassDefFoundError: c:\bea\user_projects\
>infologic1\applications\BibleApp\WEB-INF\classes\com\brainysoftware\burnaby\Cont
>rollerServlet/class;
>
>Is there another way to do this?