Peter Galantha wrote:
> I have some problem using velocity wieving pages with netscape navigator.
> If i wiev pages using the port 8080 it shows pages correctly,
> but under apache (port 80) with mod_jk, shows pages like text.
> How can I tell to apache that this is not text but html?
> (how to set up RunData.setContentType("text/html") if no action defined for the .vm?)
RunRata object for the request is available in the Velocity context, so
you can put
the folowing statement in your template:
#set($data.ContenetType("text/html"))
Rafal
--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]