This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JBoss and the fly likes How to deploy Servlet in Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "How to deploy Servlet in Tomcat?" Watch "How to deploy Servlet in Tomcat?" New topic
Author

How to deploy Servlet in Tomcat?

chandraiah chintakayalu
Ranch Hand

Joined: Aug 30, 2007
Posts: 32
Hi all,can anybody tell me how to deploy servlet in tomcat as im using jboss.
Thanks in advance.


SCJP-5 86%,SCWCD-soon
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8146
    
  52

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.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to deploy Servlet in Tomcat?
 
Similar Threads
compiling and deploying into Tomcat
Professional Apache Tomcat 6
deploying jsps and servlets to tomcat
Deploying the webservice
Tomcat servlet resource not available