hii, im new to jsp and servlet.i wrote a simple servlet program HelloWorldExample.java.The problem is i getting an compilation error.

HelloWorldExample.java:32:error while writing HelloWorldExample:HelloWorldExample.class(Access is Denied)

public class HellWorldExample extends HttpServlet{
^

i have set the classpath=C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib\servlet-api.jar

the program code is

public class HelloWorldExample extends HttpServlet {

private static final long serialVersionUID = 1L;

@Override
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException
{
ResourceBundle rb =
ResourceBundle.getBundle("LocalStrings",request.ge tLocale());
response.setContentType("text/html");
PrintWriter out = response.getWriter();

out.println("<html>");
out.println("<head>");

String title = rb.getString("helloworld.title");

out.println("<title>" + title + "</title>");
out.println("</head>");
out.println("<body bgcolor=\"white\">");


out.println("<a href=\"../helloworld.html\">");


out.println("</body>");
out.println("</html>");
}
}