Hi:
Please set the classpath properly..ur JAVAC should get the
respective .JAR file ;(SERVLET.JAR in case u are using JSWDK or JSDK.JAR in
case u are using JSDK2.0 ) while compiling any java program...
Regards..
> Arun Kumar Tripathi
> Infosys Technologies Ltd.
*> : 584068-71
> Extn:2303
** * :[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Gill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 12:25 PM
To: [EMAIL PROTECTED]
Subject: FW:Help: Servlet
Importance: High
Sensitivity: Confidential
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