turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Crossen" <ccros...@home.com>
Subject Re: data.setContentType
Date Mon, 22 Oct 2001 22:18:23 GMT
Try putting this in your template.

$data.setContentType( "application/vnd.ms-excel" )

----- Original Message -----
From: "Wei Ru" <Wei.Ru@botcc.com>
To: <turbine-user@jakarta.apache.org>
Sent: Monday, October 22, 2001 3:03 PM
Subject: data.setContentType


Sorry for the previous email, I posted it under wrong thread.


If i want to redirect to an URL from an Action -> doPerform() method
to
open an xls file, how can I do this?

I tried to use data.setContentType("application/vnd.ms-excel"), it
does
not seem to work, is it because the code is in Action so it won't
work?
what is wrong with my code?

Thanks

Wei Ru

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message