How can I compile servlets?

What compiler can I use?
[31 byte] By [Mman_a] at [2007-10-3 1:46:30]
# 1

javac

If you want to compile servlets you need to add either j2ee.jar to your classpath, or if you are using a webserver like tomcat than you need to add the servlet-api.jar to your classpath. You can find this jar bundled with your webserver, in the case of tomcat it is in the common/lib subdirectory.

gimbal2a at 2007-7-14 18:44:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...