File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes getting following error on compilation . . . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getting following error on compilation . . ." Watch "getting following error on compilation . . ." New topic

getting following error on compilation . . .

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
out.println("Hello World");
when i try to issue the javac command to compile this servlet
i get the
cannot resolve symbol error, am i missing some environment variables ?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
It would help if you would give the complete error. Which symbol it can't resolve.....
I agree. Here's the link:
subject: getting following error on compilation . . .
It's not a secret anymore!