On Tue, 22 Aug 2000, you wrote:
> 1. I extracted the tar file to webapps and now I have a sample directory
> under webapps. Do I need to enter a context in server.xml?
No.
> 2. In step 2 of your installation notes where do you set the CLASSPATH? I
> have been putting my classes in the TOMCAT/lib directory and they appear to
> get picked up by the startup script of Tomcat.
You should be fine then.
> 3. In step 3 I am not sure what you mean by a template path.
The template path is what WebMacro uses to locate where you've stored
the templates. You set this in the WebMacro.properties file located in
the samples/WEB-INF/conf directory.
So you need to set the full path to your templates. For example, lets
say you have tomcat installed in c:\tomcat, then the template path should
be set to: c:\tomcat\webapps\sample\templates
> The upshot is that I tried to run your sample application and got the
> following error:
>
> Exception: java.lang.NullPointerException
> at
> org.apache.turbine.services.webmacro.TurbineWebMacroService.getContext(Turbi
> neWebMacroService.java:136)
This is good, this means that once you set your template path correctly
you should be up and running.
Hope this helps,
--
dave
[EMAIL PROTECTED]
----------------------
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]