[Logo]
Forums Register Login
Pls help..URGENT!!! Reply asap
hi,
when i tried to import javax.servlet.*;
it is giving compile time error, that the package not found in import.
I downloaded the servlet class files from sun's website and extracted all the files.
I'm unable to rectify this error.
Puhuleese help me, as soon as possible.
regds,
Sandeep.
Hi Sandeep!
Did u set ur class path correctly?check it out.
Good Luck!
Preethi
hi preethi,

to which file i have set the classpath.
This error is occuring only when i import javax.servlet.*;
Would u pls explain me, to which file i sould set the classpath?
Pls Reply asap,
thanx,
Sandeep
Surely ur classpath is not set properly. Include the corresponding .jar (example: servlet.jar) file in ur classpath. Thats it!!
Yes Sandeep u include the servlet.jar file in the classpath.It will work fine.
Regards
Preethi
Please note that The Java Ranch has a naming policy, described here and "saurabh" is not a valid name. Please choose one which meets the requirements.
Thanks.
hi everybody,
thanx for u'r response,
Now it is working fine
(A small jhatka: i didn't set the classpath as u said, but yet it is working fine.How is it?)
Thanx again, for u'r immediate response,
regds,
Sandeep.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 19, 2017 05:47:09.