File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to deploy Servlet in Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
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: 9318
    
109

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deploy Servlet in Tomcat?
 
Similar Threads
deploying jsps and servlets to tomcat
Professional Apache Tomcat 6
Deploying the webservice
Tomcat servlet resource not available
compiling and deploying into Tomcat