What is the problem ? Where can I find the servlet package ? If not on my system, then where can I download it ? Where am I supposed to install the package ? How am I supposed to configure the CLASSPATH and PATH system variables ?
I'm not sure exactly how JBoss lays out its internal Tomcat configuration, but if you poke around you should be able to find a jar file named either servlets.jar or servlet-api.jar (depending upon which Tomcat version it is employing). Add this jar file to your classpath during the compiliation.