hi swati,
the 'class not found' error will occur, if u haven't given the correct path in the action property of the form tag...
In u'r case the class name is 'sjvtechfin1'. After compiling the java file, u will get sjvtechfin1.class file.
Copy this file to servlets directory of JavaWebserver2.0.
( Can u tell me which server u are using?)
In the action property of form tag, set the path to this class file..like action="http://<servername>:<portnumber>/servlet/sjvtechfin1.class"
for example..
<form action="http://localhost:8080/servlet/sjvtechfin1.class">
Remember, give servlet in the path, not servlets...
I hope this solves u'r problem,
If u still have the probelm... reply me at
rsandeep_1980@yahoo.com I will see the code and if possible i will rectify that..
Try these steps and get back..
good luck!!
regds,
Sandeep.