Use Ant to build it!!! I can't say that loudly enough. This tutorial is one that helped me get started.
http://www.developer.com/open/article.php/989631


I skipped the test section in the beginning, and didn't do everything as specified. I am leaving for an appointment right now and will pass along other helpful parts later.

Henry Martin
Little Planet Learning, Inc.

On Wednesday, March 24, 2004, at 02:23 PM, Bachler, Elisabeth (Elisabeth) wrote:

I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps and
restart TOmcat, right?
THanks for your patience.



-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: miercoles, 24 de marzo de 2004 21:15 To: Tomcat Users List Subject: RE: How to deploy a web application under Tomcat 5



Hi,

THanks for your response, the problem is that I don't have a clue about
how
to create a WAR application.

A WAR file is a type of jar file (which in turn is a type of zip file). You can create a WAR file using java's jar command or Ant's war task.

files. I only need Tomcat to recognize the structure
MyApp
 |
 --- WEB-INF
       |
        classes
        lib
 ---- web.xml

Tomcat will recognize this structure: create a directory called MyApp in
your webapps directory, and create the above directories/files under it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp. There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.


DO you happen to know where to find this information. I could not find
it
anywhere.

What information? How to create directories? How to create WAR files?
How to write web applications? The things I've described above are
trivial, easily accessible via Google for example. The specifics of the
WAR file format are in the Servlet Specification (http://java.sun.com).


Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to