RE: Question about WAR and application deployment

2001-10-04 Thread Durham David Cntr 805CSS/SCBE

If you use a file URL then it assumes that you are pointing to the file
or directory on the machine (server).  That means you have to put the
application on the server first, FTP, or some other means.  If you're
working locally it's much easier.

If you use some other url for the war parameter as in
'http://someserver/something.war' it will try to retrieve the file from
that spot and install it.  You would later reference your servlets, jsp
from the path as in http://localhost:8181/text/index.jsp


Hope this answers your question.



Dave Durham


-Original Message-
From: Jose Escobar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Question about WAR and application deployment


Can anyone please tell me what is a local web application archive?

Another thing after I create this:

http://localhost:8181/manager/install?path=/testwar=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

Where do I store the class files and how do I invoke them?

Thanx in advance,
Jose




RE: Question about WAR and application deployment

2001-10-04 Thread Jose Escobar

I am locally, and I did the install as I specified before:

http://localhost:8181/manager/install?path=/testwar=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

And if I go to http://localhost:8181/test/ServletName it says file not found
error

What should be inside a .war file?

Thanx in advance,
Jose

-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Question about WAR and application deployment


If you use a file URL then it assumes that you are pointing to the file
or directory on the machine (server).  That means you have to put the
application on the server first, FTP, or some other means.  If you're
working locally it's much easier.

If you use some other url for the war parameter as in
'http://someserver/something.war' it will try to retrieve the file from
that spot and install it.  You would later reference your servlets, jsp
from the path as in http://localhost:8181/text/index.jsp


Hope this answers your question.



Dave Durham


-Original Message-
From: Jose Escobar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Question about WAR and application deployment


Can anyone please tell me what is a local web application archive?

Another thing after I create this:

http://localhost:8181/manager/install?path=/testwar=file:///C:/Program
Files/Apache Tomcat 4.0/webapps/test/

Where do I store the class files and how do I invoke them?

Thanx in advance,
Jose