then i have a SendRedirect and ValidUser classes compiled in the classes folder.
however when i open the front end html and try to access i get 404 error. even though i have the compiled class. is there any problem with web.xml or form action path in html??
ALL classes used in servlets should be in packages. Without a package, the JVM looks in the "current" directory - which you have no control over. On failure to find the class you get an error.