Deepa,

As someone pointed out in an earlier post you need to
include the following in your DownloadFile.java file:
(usually, as the first line)

package com.deepa.servlet;

You would also normally place DownloadFiles.java in
a directory that ended in com/deepa/servlet.  In
WinSpeak:
D:\data\eclipse\workspace\com\deepa\servlet\DownloadFiles.java

After a successful compile,
com\deepa\servlet\DownloadFiles.class
should be copied to the WEB-INF\classes directory of
your
web app.

- Bob

>       -----Original Message----- 
>       From: DEEPA M N [mailto:[EMAIL PROTECTED] 
>       Sent: Tue 1/31/2006 11:43 AM 
>       To: Tomcat Users List 
>       Cc: 
>
D:\Tomcat5.0\jakarta-tomcat-5.0.28\webapps\DownloadFile\WEB-INF\classes>java
> com.deepa.servlet.DownloadFiles
>       Exception in thread "main"
> java.lang.NoClassDefFoundError:
> com/deepa/servlet/DownloadFiles (wrong name:
> DownloadFiles)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to