This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes How to deploy a web application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to deploy a web application ?" Watch "How to deploy a web application ?" New topic
Author

How to deploy a web application ?

sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
Please tell me how to deploy a webapp .
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Which servlet container are you using as your server?
sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
Tomcat
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
The Tomcat docs have a lengthy writeup on how to develop and deploy web apps; check it out here.
sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.



can you tell me this step ?
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2800
    
    9

Do you have an idea that web applications have a directory structure, if not take a look at Web app basics. Although it is in reference to the Weblogic server, you'll need similar for Tomcat.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
 
Have you checked out Aspose?
 
subject: How to deploy a web application ?
 
It's not a secret anymore!