Hi!

Help!

I try WebMacro example. Schema is created,
DB (MySQL) is found by Turbine.
First screen is found too - top, bottom and
three links at screen's holder place are present :).
And these links don't work :-(
(original WM-servlets work).

This is my enviroment/config:

1. Win2000/jdk1.3/Tomcat3.1/Apache 1.3.9 (Win32),
  Turbine - current CVS.

2. From tomcat.conf (server.xml has this context):
ApJServMount /t /root

3. From WebMacro.properties:
TemplatePath = c:/ap/tomcat/t/WEB-INF/templates

4. /WEB-INF contains:
- /conf (with TurbineResources.properties wich is found),
- /classes (with Turbine.class and HelloWorld.class),
- /templates (with /layouts, /navigations and /screens;
  the last contains wm's: HelloWorld, error, index, testlink)
- web.xml with:
    <servlet>
        <servlet-name>Turbine</servlet-name>
        <servlet-class>Turbine</servlet-class>
        <init-param>
            <param-name>properties</param-name>

<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            Turbine
        </servlet-name>
        <url-pattern>
            /Turbine
        </url-pattern>
    </servlet-mapping>

5. From TurbineResources.properties:
default.template=/default.wm
template.homepage=/index.wm
screen.homepage=WebMacroSiteScreen
screen.login=WebMacroSiteScreen
action.sessionvalidator=sessionvalidator.WebMacroSiteSessionValidator
page.default=WebMacroSitePage
services.TurbineWebMacroService.classname=org.apache.turbine.services.webmac
ro.TurbineWebMacroService

Oh, really big config...:)

I begin from http://127.0.0.1/t/Turbine
Where is my mistakes?

Andrew



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