Karen,

If your using maven 2 then it should be dead easy. Assuming you have
maven 2 setup on your system follow the example given here [1]. This
will create a war file artifact with a simple jsp and the web.xml. The
last goal mvn package will create you a war file.

I suggest that you give it ago and then analyse whats files are in the war file.

You can deploy the war as shown in one of the links provided by others
in this thread. I prefer the tomcat manager webapp myself.

Sorry to the Tomcat guys if this is off topic but maybe it might help
her understand the layout of the war file and she can build on it from
there.

[1] http://maven.apache.org/guides/mini/guide-webapp.html

On 7/16/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: pinky88 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to deploy a web app on tomcat.. help needed plz.. :)

I would recommend cleaning up your examples before posting.  This is an
international, multi-cultural, multi-gender mailing list, and you (or
your cousin's) attempts at humor are completely inappropriate.

> I do not know what tomcat logs are..

Try looking in the aptly named "logs" directory...

> I'll post the pom.xml

Irrelevant - that has meaning to maven, not Tomcat.

You still haven't answered the questions you were asked:

1) What's in the logs?

2) What's the name of your new .war file?

3) Where did you put your new .war file?

4) Do you have the real class inside %YOUR_WEBAPP%/WEB-INF/classes or
lib?

5) What are you typing into the browser to access this app?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to