This does not seem to have any thing to do with JSPs,
but anyway looks like you have not set your classpath properly...
Sandipan.
Gill wrote:
>
> Dear Fellows,
>
> I have sent a below mentioned help request but didn't get any response uptil
> now. Will you please help me in this problem....
>
> Hello Guys,
>
> I am facing a problem when making a servlet class file. When I compile the
> servlet "java" file. I got this below mentioned message. Will you please
> help me in this concern....
>
> Thanks.
>
> Gill
>
> --------------------------- Compiler Output ---------------------------
> HTTPGetServlet.java:3: package javax.servlet does not exist
> import javax.servlet.*;
> ^
> HTTPGetServlet.java:4: package javax.servlet.http does not exist
> import javax.servlet.http.*;
> ^
> HTTPGetServlet.java:7: cannot resolve symbol
> symbol : class HttpServlet
> location: class HTTPGetServlet
> public class HTTPGetServlet extends HttpServlet {
> ^
> HTTPGetServlet.java:8: cannot resolve symbol
> symbol : class HttpServletRequest
> location: class HTTPGetServlet
> public void doGet( HttpServletRequest request,
> ^
> HTTPGetServlet.java:9: cannot resolve symbol
> symbol : class HttpServletResponse
> location: class HTTPGetServlet
> HttpServletResponse response )
> ^
> HTTPGetServlet.java:10: cannot resolve symbol
> symbol : class ServletException
> location: class HTTPGetServlet
> throws ServletException, IOException
> ^
> 6 errors
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets