Wednesday, May 7, 2008

how to deploy war file into web root ?

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.

Labels:

2 Comments:

At May 7, 2008 5:18 PM , Anonymous Anonymous said...

Great! You made my day.
/Amir

 
At April 8, 2009 2:18 PM , Blogger Ravi Chandran said...

Thanks for the inputs.

Great help

 

Post a Comment

<< Home