tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James" <software...@dodo.com.au>
Subject Re: Simple WAR files
Date Fri, 30 Aug 2002 16:06:07 GMT
Thanks Peter. Now that I know how to make WAR files, is there a tutorial on
writing the bits and pieces of web.xml?

Also... I see this is a popular question, (I was also going to ask) where is
mod_jk in binary for Win32? Do you have one in a package with docs that you
can send me? :-) Sorry! I can't see how to get it.

James


----- Original Message -----
From: "Peter T. Abplanalp" <pta@psaconsultants.com>
To: "Tomcat List" <tomcat-user@jakarta.apache.org>
Sent: Saturday, August 31, 2002 1:46 AM
Subject: Re: Simple WAR files


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, Aug 31, 2002 at 01:28:16AM +1000, James wrote:
> > Hi,
> >
> > I have read the documentation for writing web applications and
distributing
> > them in WAR files, but now I am just more confused than ever. I'm
looking
> > for a simple step by step tutorial on making WAR archives and making
them
> > redistributable.
> >
> > I know this so far:
> > - Directory structure; WEB-INF, WEB-INF/classes, etc and what they are
used
> > for
>
> do you also know about the web.xml that is supposed to go into
> web-inf?
>
> > So now I need to know, what are the basic steps to make a very simple,
> > almost HelloWord.war type of application? How do I write an application
> > descriptor, and what do I do with it to make an application WAR file?
What
> > are all the references to asking an administrator to assign a context
path?
> > (I have no administrator, only my home computer and myself!)
>
> let's say you are working in ~/src/myapp which contains the dir
> structure you describe above.  all you need to do is execute the
> following command in ~/src/myapp:
>
>   jar cvf myapp.war *
>
> then proceed to copy the war file to however many tomcats you want.
> that's it in its simplest form.
>
> if you then want to do some neater stuff, you need to look into how
> the web.xml file is structured.  it basically defines your web app and
> what happens where.  it is really beyond the scope of a single email.
> creating the war file is always the same.
>
> > Thanks,
>
> welcome.
>
> - --
> Peter Abplanalp
>
> Email:   pta@psaconsultants.com
> PGP:     pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9b5NTggA8sH0iRXQRArVaAKCRlTJBYAidxf3fmHS4z95KQQBAIwCcDCGk
> n0vaUtmoJNZYWPPJjI76jbY=
> =oJfH
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message