Vijay Kumar
WAR file
1 Answer(s)      2 years and 6 months ago
Posted in : Servlet Interview Questions

What is a WAR file?

View Answers

November 15, 2010 at 3:18 PM


A Web archive (WAR) file is a packaged Web application. WAR files can be used to import a Web application into a Web server. The WAR file also includes a Web deployment descriptor file. There are special files and directories within a WAR file. The /WEB-INF directory in the WAR file contains a file named web.xml which defines the structure of the web application. If the web application is only use JSP files, then web.xml file is not strictly necessary. If the web application uses servlets, then the servlet container uses web.xml to ascertain to which servlet a URL request is to be routed.









Related Pages:
WAR file
WAR file  What is a WAR file
war file
war file  where should we create this war file in servlet program for example servlet structure like this 1.app(servlet) 2.WEB-inf(web.xml) 3.class(.class
war file in myenclipse - Struts
war file in myenclipse   i create war file from myenclipse but i dont know about how war file deploy in myenclispse to create same project  Hi friend, For more information on MyEclipse visit to : http
Deploying website war file on linux
Deploying website war file on linux  I have BOLLYWOOD_MIRROR.war file.I want to host it on linux server on path. After deployment of war file its... guidance of hosting war file on linux Thank you
conversion of war file into executable jar file
conversion of war file into executable jar file  how to convert war file into executable jar file
Manipulation of war fie contents
Manipulation of war fie contents  How can I manipulate a specific file inside my war file without extracting it? Please help... Thanks and regards, Swapnil
war file deploy in tomcat server - WebSevices
war file deploy in tomcat server  can anyone tell me how i can deploy war file in tomcat server ????  to deploy ur war file ...jus start... ur war file ..select ur war file location and click deploy ..it will start
Deploy .war from From NetBeans
Deploy .war from From NetBeans  How to deploy .war file into external running application server directly from Netbeans just as from eclipse
Error with Maven while deploying the war file
war : war. for creating the war. then i deployed the war file in localhost 8080...Error with Maven while deploying the war file  Hi, I am new to maven... I created java spring hibernate project.. and i kept all .java files
Error with Maven while deploying the war file
this command mvn war : war. for creating the war. then i deployed the war file...Error with Maven while deploying the war file  Hi, I am new...; <artifactId>maven-war-plugin</artifactId> <
How to open a .war file inside Netbean IDE? - IDE Questions
How to open a .war file inside Netbean IDE?  Dear experts, I've been trying to read a .war file inside my Netbean IDE alot of times but to no avail. When I used open file to open the .war file, it just remains inside my
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  I... these files in appropriate directories. 3) I created .war file of my web application. 4) I started tomcat 5) Then in tomcat I mention .war file location of my
Necessary Jar and War files for struts - Struts
-taglib-1.3.10.jar 3. jstl-1.0.2.jar 4. commons-validator-1.3.1.jar War file...-validator-1.3.1.jar War file: struts-blank-1.3.10.war...Necessary Jar and War files for struts   Hi friends
How can store image in server folder when deployed with a .war file?
How can store image in server folder when deployed with a .war file?  Hi all; When I am using application.getRealPath() , it return null when deployed with a .war file and when I use hard code it shows syntax error or path
Necessary Jar and War files for struts - Struts
in lib directory and get all importaint jar files. Copy the struts-blank war file...Necessary Jar and War files for struts  Hi Friends, I am learning struts , i want to know wat r d necessary jar and war files
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  How to run our application after deploying .war file in tomcat6.0?   Hi... api.jar file inside the lib folder of tomcat. 4)Now create a jsp file:'hello.jsp
jsf application war file not running in my jboss 6.0 on linux 5.5
jsf application war file not running in my jboss 6.0 on linux 5.5  17:15:47,647 INFO [config] Initializing Mojarra (1.2_08-b06-FCS) for context '/MFPMSDeployment' 17:15:48,354 INFO [TomcatDeployment] deploy, ctxPath=/ 17
not able to deploy application war on JBOSS 6.0 running on linux 5.5
not able to deploy application war on JBOSS 6.0 running on linux 5.5  While deploying a war file on Linux5.5 through jboss 6.0 admin console, its giving me following error javax.servlet.ServletException: Java heap space
merge two war files
merge two war files  how to merge two war files using maven
merge two war files
merge two war files  How to merge two war files using maven??? is there any command
Wats Deploying war in Target Server - Development process
Wats Deploying war in Target Server   Hi Friends, I am new to web application, can u explain briefly wat is "Deploying a .war,.jar,.ear files in target server. Thank u in advance   Hi rajendra
Build File in java - Development process
Build File in java   Hi Friends, Can u explain me what is necessary for build file in java application. I mean it contains war file or anything
Programming - World Peace
Java: Programming - World Peace Change all occurences of "war" to "peace" The US Department of Defense used to be called the War Department. I wouldn't... by scanning the input for the word "war" and replace it with "peace". The Java
Getting File path error - JSP-Servlet
Getting File path error  I have a requirement where i need to get... (request.getRealPath) is deprecated. Second problem is that when i create a war and open the login page after deploying the war, the application bombs.. Kindly
Common concerns to build a project
the output of a Web application project is typically a WAR file while that of an EJB application is a JAR file.  2. Directory naming conventions
Deployment in Tomcat 6.0
Deployment in Tomcat 6.0       Deploy the 'war' file of your application in  ?<... information: Database location to store artifacts Artifactory config xml file
File
File  How to create .Exe file in jana
file
file  how can copy the information in the file to the string?   Store file data into String
file
file  Could anyone please help me to write a code that does the following: Opens a file named MyName.txt, reads the first line from the file and displays it, and then closes the file. Thank you so much
file
file  how can add the information to the graphic file
file
file  Hi,what can delet some of the information of the file
file
file  Hi,how can delet some of the information of the file
TCBuilder
be deployed seamlessly as web (as a war file) or standalone application... be deployed as war file in any web server or can be run as standalone application... GUI information in a XML file, and generates main application and UI model
File
File   How to find all files in our local computer using java
FILE
FILE  There is a file named Name.txt that contains information related to appliances.I want to read the contents of this file and I used the code... args[]) { try { File file=new File("Name.txt"); FileReader f=new FileReader(file
Apache MyFaces Examples
-simple-1.1.6.war file provides the code for every example. Downloading and deploying this war file in the Tomcat6.0 server has been described in the previous tutorial... to webapps\myfaces directory of Tomcat server and open JSP file for the examples
How to generate build.xml file
How to generate build.xml file       This example shows how to generate the build.xml file. You may say that build.xml file is the backbone of ANT (Another Neat Tool
file
file  hi i want read special line of file. what am i doing ? I write... read data from file. please help me! void maketree(BtNode root,int i) throws... at the following link: Read specific line from file
javascript conversion
javascript conversion  how to convert war file into dll file
accessing data from a json file writing javascript or using jQuery
accessing data from a json file writing javascript or using jQuery  I... this huge json file containing several objects that contain arrays for the objects... page is built from this json file, but I can't figure out how to code
jsp - JSP-Servlet
jsp  how to assign IP address to war file to run at server... i want steps to run war file at server
Apache Maven plugins
, create jar files, create war files, unit test code, create project... from the current project. war Build a WAR from the current project
File path for jar file
File path for jar file  Hi Experts, I have created one eclipse... jar file of that application, unfortunately it is giving the error that resource not found for the template file. Also I had tried to get that path from user
EAR file
EAR file   What is the EAR file
Servlets - Servlet Interview Questions
the war file and deploy into tomcat webpage. where this war file is stored... are with the .war extension. The war file contains the web application that can be deployed on the any servlet/jsp container. The .war file contains jsp, html
Convesion of txt file to doc file.??????
Convesion of txt file to doc file.??????  how to convert text file to doc file using java
String file in to word file in java
String file in to word file in java  How to convert a String format notepad file into Ms word file in java
File manipulations
File manipulations  how to read input to a file from console

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.