Even if I had set the class path for
servlet API still while compiling it is showing the error that showing that
AdditionServlet.java:1: package javax.servlet does not exist
import javax.servlet.*;
^
AdditionServlet.java:3: cannot find symbol
symbol: class GenericServlet
public class AdditionServlet extends GenericServlet
^
AdditionServlet.java:5: cannot find symbol
symbol : class ServletRequest
location: class AdditionServlet
public void service(ServletRequest request,ServletResponse response)throws IOException{
^
AdditionServlet.java:5: cannot find symbol
symbol : class ServletResponse
location: class AdditionServlet
public void service(ServletRequest request,ServletResponse response)throws IOException{
^
4 errors
Hey guys I'm correct as far I know but can't find out the cause.Please give the reason for the Error.
Thanks in adv.