I know!!! I was using "WAR file building" and the results were not what I
wanted.... 
THanks a lot

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


Hello, Elisabeth:
You can do something like this:
 
cd <parent-of-WEB-INF-directory>
jar cvf myFirstManualWarFile.war .
 
Incidentally, out of curiosity I searched Google with 
"manually creating WAR files" and the first entry is
a nice Sun Web page that will help you get up to
speed with some of this stuff..... 
 
Regards,
 
Oswald
 


"Bachler, Elisabeth (Elisabeth)" <[EMAIL PROTECTED]> 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]

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

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

Reply via email to