I have written a html page to invoke a servlet named logtest1
and i have created that logtest1.java file in the following path.
c:/apache tomcat/webapps/root/web-inf/classes/logtest1.java
in the html file, i gave the path as
<form name=log method=post action= "/servlet/logtest1">
But, when I click on submit button, I get one servlet exception as
A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot allocate servlet instance for path
/servlet/logtest1
java.lang.IllegalAccessException: logtest1"
why?