This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12758
It would help if you would give the complete error. Which symbol it can't resolve.....
It is sorta covered in the JavaRanch Style Guide.
subject: getting following error on compilation . . .
Similar Threads
Cannot get code with assertions to compile
ActionAdapter compiler problem
Document Listener and/or Ley Listener
Import statement problems