This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create a war file in eclipse2.1 to deploy in tomcat 5.5
 
Similar Threads
How to generate a .war file in Eclipse ?
Tomcat 5.5 configuration and deployment through Eclipse 3.2
How to deploy a Tomcat.war file into WebSphere
How to deploy WAR to Tomcat (which is server into Eclipse)
Eclipse Integrated with Tomcat for Hot Deployment