posted 16 years ago
I did not understand your question. Are you asking how to deploy a servlet in JBoss? Or are you asking how to deploy a servlet in Tomcat?
In JBoss, all you have to do is package your application as a .war file and place it in the deploy folder (usually in the %JBOSS_HOME%/server/default/deploy folder). Then you start the server using the run.bat file (for linux, use run.sh) present in %JBOSS_HOME%/bin folder. Your application will be picked up by JBoss and deployed.