>
> I can not agree with you at lease if you run servlet on Tomcat.
>
> 1. With Tomcat, we only can config CLASSPATH in TomCat.sh. Since we only
run one Tomcat, we only have one CLASSPATH. Even I put the one.jar two.jar
in two seperat path, I have to config them both in Tomcat.

If you create two directories under webapps.  And place your classes and
configuration files as described in war-webmacro.html document.  You can
have two applications that use Turbine.  They will not share session info,
however.  And you will need to make sure that classes that are affected by
the fact that there are multiple applications are not in the tomcat (system)
classpath.  war-web...html recommends placing all turbine/lib jars into the
webapp specific directory.  This is the easiest, but I suspect you could get
away with just the webmacro and turbine jars being duplicated.


>
> 2. Since now there is not any configuration to tell turbine which
WebMacro.properties should pick. The system will only use the
WebMacro.properties in the same directory of webmacro.jar. So I should
config both of the one/template and two/template in the TemplatePath
parameter.
>

There is a property in TurbineResources.properties to set this; check out a
more recent snapshot.





------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to