aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes how to create a war file in eclipse2.1 to deploy in tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to create a war file in eclipse2.1 to deploy in tomcat 5.5" Watch "how to create a war file in eclipse2.1 to deploy in tomcat 5.5" New topic
Author

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

raj kothari
Greenhorn

Joined: Nov 21, 2005
Posts: 24
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

Joined: Aug 15, 2004
Posts: 2874
Tomcat 5.5 Deployer How To.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
You can use ANT for packaging stuff. Eclipse 3.1.0 and onward distributions have ANT with in it.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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).


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
 
subject: how to create a war file in eclipse2.1 to deploy in tomcat 5.5