The same basic functionality is available, just package it up as a .war 
file and put it in webapps.  The contexts will be done for you.

rls




"Kristj�n R�narsson" <[EMAIL PROTECTED]>
10/17/2002 08:23 AM
Please respond to "Tomcat Users List"

 
        To:     "Tomcat Users List" <[EMAIL PROTECTED]>
        cc: 
        Subject:        AutoSetup and of applications (dynamic contexts) in Tomcat 4.x

I have been studying the Manager utility of Tomcat 4 and discovered that 
it is possible to add contexts for webapps here just like in the Admin 
utility in tomcat 3.x. If I add a context for my WebApplication with the 
Manager's "install" command the WebApp also works.

What bothers me is that in 3.x I did not have to create contexts manually. 

All I had to do was add a subdirectory in the webapps directory

webapps/foo

and copy my "bar.jsp" file into it. After restarting Tomcat 321 I could do 

a http://localhost:8080/foo/bar.jsp and it wold work. No adding contexts 
this was done dynamically under 3.2.1.

How do I activate this dynamic install/deployment/AutoSetup feature under 
4.0.6?

Mvh
KR

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to