My fault, I have a class that overrides VelocityOnlyLayout, borrowed from a
secure app. So it does not cope with a non-logged-in user. It uses the
logged in users role to construct a path for layouts, screens etc. no roel
identified then incorrect path for layout templates etc.

The incorrect URI below is a red herring, does not seem to have any effect
except fooling the unwary.

Rgds,

David

-----Original Message-----
From: David Wynter [mailto:[EMAIL PROTECTED]
Sent: 16 July 2003 11:41
To: Turbine-User
Subject: Incorrect URI being constructed in T2.3


Hi,

I now have all my Classes for templates pages, screen etc. being found and
loaded. Similar for all .vm files in the template.login etc. But I get a
blank page being served up despite there being content in layout, screen and
navigation velocity templates.

The only thing I note that is unusual is that for the URL of
http://localhost:8080/rwsite/servlet/rwsite

I get this in the log:
...
[DEBUG] BaseURI - -init(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -clone()
[DEBUG] ServerData - -Copy
Constructor(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -setServerName(localhost)
[DEBUG] ServerData - -setServerPort(8080)
[DEBUG] ServerData - -setServerScheme(http)
[DEBUG] ServerData - -setScriptName(/servlet/rwsite)
[DEBUG] ServerData - -setContextPath(/rwsite)
...
Note that the BaseURI is different from that POSTed. Is this something to be
worried about? If it is, is it a configuration issue?

Thanks

David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to