File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how to make a .war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to make a .war file" Watch "how to make a .war file" New topic
Author

how to make a .war file

mazoun yusuf
Greenhorn

Joined: Feb 11, 2005
Posts: 19
i want to deploy a servlet in tomcat 5.0. i need to add my classes top a .war file. How can i do so?

mazoun
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

cd to the root directory of your app and type:
jar -cvf YOUR_APP_NAME.war *
[ February 14, 2005: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
gaurav chhabra
Ranch Hand

Joined: Jul 24, 2004
Posts: 109
u should this -::

jar -cvf name_to_be_made.war .
please pay attension on the whole syntax
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make a .war file
 
Similar Threads
servlets
how to create war file
on war file
weblogic server
war file