Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Re: [Re: "cannot resolve symbol"]


Message #1 by Kalyanjit Hatibaruah <metal73@u...> on 28 Mar 2001 09:38:01 MST
hello all,

Set the CLASSPATH. this is the basic of doing any java application
the Servlet path is not set. you get a lot of tutorials on the internet h
ow to
configure Servlets/Java with the CLASSPATH and all that




huma hamid <shehuma32@y...> wrote:
Hi Henry

I just wanted to know did you find out the solution to
your problem(cannot resolve symbol) if you have -pls
let me know know hoe coz i am having the same problem

Thanks I will be waiting 4 ur reply.
Huma
--- henry bonghanoy <henzki@e...> wrote:
> 

> hi all,
> 

> i have small problem. when i compile my servlet an
> errors appeared most of 

> them cannot resolve symbol.. 

>   i need your help guys..
> 

> public class HitCounter extends HttpServlet{
>                                 ^
> HitCounter.java:18: cannot resolve symbol
> symbol  : class HttpServletRequest
> location: class HitCounter
> public void doGet(HttpServletRequest request,
> HttpServletResponse response)
>                   ^
> HitCounter.java:18: cannot resolve symbol
> symbol  : class HttpServletResponse
> location: class HitCounter
> public void doGet(HttpServletRequest request,
> HttpServletResponse response)
>                                               ^
> HitCounter.java:11: cannot resolve symbol
> symbol  : variable kFilename
> location: class HitCounter
>     BufferedReader in=3D new BufferedReader(new
> FileReader(kFilename));
>                                                     

>     ^
> HitCounter.java:18: missing method body, or declare
> abstract
> public void doGet(HttpServletRequest request,
> HttpServletResponse response)
>             ^
>   Any brilliant idea!..
> 

>   

>  thanks and regards to all
>  henry


  Return to Index