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??
rakesh sugirtharaj
Ranch Hand
Joined: Dec 16, 2007
Posts: 151
posted
0
Try this - instead of
use (without backslash in action)
Cheers!
RSR
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
<servlet-class>SendRedirect</servlet-class>
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.