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 JSP and the fly likes how we create a war file in j2ee 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 » Java » JSP
Bookmark "how we create a war file in j2ee" Watch "how we create a war file in j2ee" New topic
Author

how we create a war file in j2ee

Thakur Sachin Singh
Ranch Hand

Joined: Jun 15, 2010
Posts: 232

hai anybody give me the idea??


SCJP 6- 91%, IBM DB2, IBM RAD Certified
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336



JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Deepa Gowda
Greenhorn

Joined: Dec 09, 2010
Posts: 4
when you deploy a project war file will be created.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Deepa Gowda wrote:when you deploy a project war file will be created.

The war can't be created by deploying a war. How would it get created in the first place? If you are talking about a specific IDE, not everyone uses the same IDE, or an IDE at all.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
venkatesh goud
Greenhorn

Joined: Nov 23, 2010
Posts: 11
This may useful

using ant

1. http://s2sgateway.com/jsp/create-a-war-file-using-jsp-code/
2. http://www.ecomputercoach.com/index.php/component/content/article/76-building-a-j2ee-web-application-using-ant-script.html?start=1
3. jar -cvf sample.war
Thakur Sachin Singh
Ranch Hand

Joined: Jun 15, 2010
Posts: 232

can anyone give me the steps of creation of war file?

is we create war file in a single command or there is some lengthy method to do that?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Have you even read this topic? The single simple command is given in the first reply.
 
wood burning stoves
 
subject: how we create a war file in j2ee