> Ok, this explains it to me: If your template.path is empty, 
> in the init 
> method you don't modify the path at all, it stays empty. If now your 
> template filename starts with a slash, everything will be ok:
> 
> For example:
>                                  path is "", filename is 
> "\layouts\default.jsp"
> after exec. initJsp:            path is "", filename is 
> "\layouts\default.jsp"
> handleRequest forwards to:      "\layouts\default.jsp"
> 
> However if your path is not empty, but e.g. "\templates" it 
> goes following way:
> 
>                                  path is "\templates", filename is 
> "\layouts\default.jsp"
> after exec. initJsp:            path is "templates\", filename is 
> "\layouts\default.jsp"
> handleRequest forwards to:      "templates\\layouts\default.jsp"
> 
> This won't work. Just try to use a non-empty path and you'll 
> see what I mean!

Could this by any chance have anything to do with the
infamous "layoutsnull" problem? I somehow recall seeing
a double (back)slash somewhere...


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


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