• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create a war file in eclipse2.1 to deploy in tomcat 5.5

 
raj kothari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using eclipse 2.1 and tomcat 5.5 with backend of mysql.

we are trying to deploy the project in tomcat.

From eclipse, right click the project in package explore and export to war.
it is creating a file only without any extension.
Is it the right way, for deploying the application.

We also want how to deploy it in tomcat project.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 5.5 Deployer How To.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use ANT for packaging stuff. Eclipse 3.1.0 and onward distributions have ANT with in it.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you're looking for instructions specific to Eclipse, I'm going to move this to the IDE's forum.

Creating war files with the command line "jar" program is very easy as is using ANT (as Adeel has mentioned).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic