Deploy a directory on Tomcat 5.0

2004-04-20 Thread Tien-Lung . Liu
Hi,

I have a directory that contains servlets. This directory, named testdir,
sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes).
How do I deploy this directory?

I went to Tomcat Manager, and tried to enter the values in the following
fields, but it didn't work:

Do I also need an XML Configuration file. If so, which one? And where to
put it?
  -|
 | |
 | |
 | |
 | |
   Context Path (optional):  | |
 | |
  XML Configuration file URL:| |
 | |
 WAR or Directory URL:   | |
 | |
 | |
 | |
 | |
 | |
  -|



Thanks for your help.



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



Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread QM
On Tue, Apr 20, 2004 at 09:23:18AM -0400, [EMAIL PROTECTED] wrote:
: I have a directory that contains servlets. This directory, named testdir,
: sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes).
: How do I deploy this directory?

This and other questions are answered in:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

You may also want to check out the servlet spec.  I don't have the URL,
but you can search for it at java.sun.com

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread Tien-Lung . Liu

Thanks for your reply.

I did go through the docs before, but still can't find concrete examples.
Any pointers to get me on the right path?


Tomcat Manager

War or directory URL: http://localhost:8080/dir1

XML configuration file url:  http://localhost:8080/dir1/web.xml

I got this error message:
|-|
| FAIL - Invalid application URL http://localhost:8080/dir1 was specified  
   |
|  
   |
|-|




   
 
  QM   
 
  [EMAIL PROTECTED] To:  Tomcat Users List [EMAIL 
PROTECTED]  
  .netcc: 
 
   Subject: Re: Deploy a directory on 
Tomcat 5.0
  04/20/2004 09:38 
 
  AM   
 
  Please respond   
 
  to Tomcat Users 
 
  List
 
   
 
   
 



On Tue, Apr 20, 2004 at 09:23:18AM -0400, [EMAIL PROTECTED] wrote:
: I have a directory that contains servlets. This directory, named testdir,
: sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes).
: How do I deploy this directory?

This and other questions are answered in:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

You may also want to check out the servlet spec.  I don't have the URL,
but you can search for it at java.sun.com

-QM

--

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
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]



Re: Deploy a directory on Tomcat 5.0

2004-04-20 Thread Veniamin Fichin
[EMAIL PROTECTED] wrote:

I have a directory that contains servlets. This directory, named testdir,
sits on the server, but not in Tomcat 5.0 ( or webapps/WEB-INF/classes).
How do I deploy this directory?
I went to Tomcat Manager, and tried to enter the values in the following
fields, but it didn't work:
Do I also need an XML Configuration file. If so, which one? And where to
put it?
   Yes, you'll need it. Read 
tomcat-docs/deployer-howto.html#Context%20descriptors .

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