Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy Servlet in Tomcat?

 
chandraiah chintakayalu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,can anybody tell me how to deploy servlet in tomcat as im using jboss.
Thanks in advance.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic