Ulf Dittmer wrote:Where is the file "registration.class"?
Assuming it is in WEB-INF/classes/com/servlet, have you restarted the web app since putting it there?
I have tried to restart the web app , but no effect . Its still showing the same error message ..............
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35250
7
posted
0
Have you looked at the log file, like the error message suggest?
Varun Nayudu
Ranch Hand
Joined: Jun 26, 2006
Posts: 156
posted
0
Ulf Dittmer wrote:Have you looked at the log file, like the error message suggest?
This the log file
I even changed my folder from com.classes to just classes.servlet1
And made all the changes in the web.xml and jsp as well Still dont know what is the issue with this application from running
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
Like the error message says Tomcat cant find some essential class file.
A typical Tomcat installation includes a "class-loader-howto.html" file which explains in detail how Tomcat finds and loads classes. Study it.
IF your class name is registration (small initial character - bad practice, use initial Cap to keep classes clearly differentiated from packages)
THEN under WEB-INF/classes, tomcat expects a com subdirectory having a servlet subdirectory having a registration.class file.
Furthermore, under WEB-INF there must be the valid web.xml file.
Why did you try such odd-ball things as a com/classes directory or classes/servlet1 when the package appears to be "com.servlet"