how to deploy war file into web root ?

by Hamid Reza Fahimi Madjd @ May 7, 2008

Some times we need deploy our peoject into root directory of your domain (not sub directory), to solve the problem:

  1. make war file (for example myproject.war)
  2. rename the war file to ROOT.war (attention the filename must be uppercase)
  3. deploy war file

now, you can see / in tomcat web application manager page that deployed in site root.


3 comment(s)

#1. Amir @ 2008-05-07 17:18:41

Great! You made my day.

#2. Anonymous @ 2009-04-09 14:18:19

Thanks for the inputs.

Great help

#3. ghanshyam @ 2010-05-04 16:17:51

is there any disadvantage to deploy web at root ?

last tweet

Developed withDeveloped with