Forums Register Login

unable to compile servlet

+Pie Number of slices to send: Send
Hi
I have java EE 5 SDK on my system. I set CLASSPATH variable to servlet-api.jar and PATH variable to C:\sun\sdk\bin.
I have been trying to run a servlet but compiler is giving error:
package javax.servlet.http does not exist.

Initially it was giving package javax.servlet does not exist. But after setting PATH to javax pakage, the compiler has shown package javax.servlet.http does not exist error.

I just want to run a simple servlet. pls do guide me if i have to do any setting changes or if i need to install other j2ee version.

Looking for some prompt responses.
+Pie Number of slices to send: Send
 

Originally posted by shubhra chauhan:
pls do guide me ....



Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

Looking for some prompt responses.



Not a good idea. Please read this for more information.
+Pie Number of slices to send: Send
We have a FAQ entry on this subject that might help to get you going.

http://faq.javaranch.com/java/CompilingServlets
Dinner will be steamed monkey heads with a side of tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1280 times.
Similar Threads
javax.servlet
Compile Error - J2EE 1.4 SDK
Not able to compile first servlet
Issues Compiling With Javac
problem in servlet compilation
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:52:45.