You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ciju Kurian <ci...@uaeexcent.co.ae> on 2001/11/12 10:24:04 UTC
WAR file???
greetings to all,
Will some body say me how can i create a "war" file and what is the
significance of a war file.Is it only the war file,that can be specified for
executing with struts,
http://localhost:8080/warfile
is there any other way,other than war file.
Thank you in advance..
with regards,
ciju
cijukurian
Re: WAR file???
Posted by rgi <gi...@gmx.ch>.
Hello Ciju,
Look at this link for your question:
http://forum.java.sun.com/thread.jsp?forum=45&thread=81698
Monday, November 12, 2001, 10:24:04 AM, you wrote:
CK> greetings to all,
CK> Will some body say me how can i create a "war" file and what is the
CK> significance of a war file.Is it only the war file,that can be specified for
CK> executing with struts,
CK> http://localhost:8080/warfile
CK> is there any other way,other than war file.
CK> Thank you in advance..
CK> with regards,
CK> ciju
CK> cijukurian
--
Best regards,
rgi mailto:giger@gmx.ch
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: WAR file???
Posted by John Yu <jo...@scioworks.com>.
See
http://www.jguru.com/faq/view.jsp?EID=129333
http://www.jguru.com/faq/view.jsp?EID=129328
At 01:24 pm 12-11-2001 +0400, you wrote:
>greetings to all,
>
>Will some body say me how can i create a "war" file and what is the
>significance of a war file.Is it only the war file,that can be specified for
>executing with struts,
>http://localhost:8080/warfile
>
>is there any other way,other than war file.
>
>Thank you in advance..
>
>with regards,
>ciju
>cijukurian
--
John Yu Scioworks Technologies
e: john@scioworks.com w: +(65) 873 5989
w: http://www.scioworks.com m: +(65) 9782 9610
Scioworks Camino - "Rapid WebApp Assembly for Struts"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: WAR file???
Posted by Burr Sutter <su...@bravepoint.com>.
If I have a directory structure that looks like:
\MyApps\mywar\WEB-INF\lib
I will use something like:
jar -cvf my.war -C mywar .
executed from the MyApps directory. Note the space between "mywar" and "."
The jar.exe ships with the JDK. The key thing is making sure the paths in the resulting war file are accurate. For instance, the file called web.xml must be in WEB-INF. And the struts.jar goes in WEB-INF\lib.
If you are on windows you can use Winzip to view the file and check your paths.
The benefit of the WAR file is that it is a single file that can be deployed on any J2EE compliant application server/servlet engine.
The standard for the web application directory structure is documented in the Servlet specification from Sun.
--
Sent via jApache.org
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>