How do people use templates to display static data? I am using WebMacro (for
now) and am pointing to images in the template files in the manner;

 <img
src="$data.getServerScheme()://$data.getServerName():$data.getServerPort()/c
ontext/images/imagename.jpg">


With that sort of URL there is a Turbine.handleException, as it is looking
for an images template. What is the way around this?

Also is there a way to capture the Tomcat context without having to parse
ServerData.scriptName()?




Cameron Riley


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