Top "War" questions

Web Application Archive - Is Jar file used to distribute JavaServer Pages, Java Servlets, Java classes, XML files, tag libraries and static Web pages (HTML and related files) that together constitute a Web application.

How to deploy a war file in Tomcat 7

I have copied the sample.war file into the webapps directory of Tomcat, and I can access localhost:8080. Now how …

java tomcat war
Difference between jar and war in Java

What is the difference between a .jar and a .war file? Is it only the file extension or is there …

java jar war
"webxml attribute is required" error in Maven

I am getting the following error: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing …

maven war
Oracle JDBC ojdbc6 Jar as a Maven Dependency

I cannot seem to get Maven to bundle the ojdbc6.jar file into my project's war file. I have it …

oracle maven jdbc war
How to extract .war files in java? ZIP vs JAR

I have a web program where I want the user to be able to import a .war file and I …

java jar zip war
How to start jenkins on different port rather than 8080 using command prompt in Windows?

I have jenkins.war and I started it from command prompt in Windows as: java -jar jenkins.war It was …

windows command-line jenkins war command-prompt
Linux command for extracting war file?

How can I extract a .war file with Linux command prompt?

java linux war
How do I run a class in a WAR from the command line?

I have a Java class which has a main and I used to run as a standalone app from the …

java jar war
What is WEB-INF used for in a Java EE web application?

I'm working on a Java EE web application with the following source code structure: src/main/java <-- multiple …

servlets jakarta-ee war web-inf
How to create war files

What are the best practices of creating war files (using eclipse) to run on tomcat? tutorials, links, examples are highly …

java eclipse tomcat war