archive “2008/05”

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.

java comments3 comment(s)

last tweet