I compile the above code using "javac -classpath C:\Apache\tomcat\lib\servlet-api.jar test.java" and receive the following error:
error: cannot find symbol
out.println("main email"+ getServletConfig().getInitParamater("mainEmail"));
^
symbol: method getInitParamater(
String)
location: interface ServletConfig
1 error
Any help is appreciated.