struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Krah <>
Subject FilterDispatcher - ContentType not set, how to set in to text/html?
Date Fri, 17 Oct 2008 12:57:23 GMT
You can configure the action to set the result type to e.g. plain text (

How to tell the action, its content type is text/html?
I am calling my action 

<action name="registerStatic" class="com.opensymphony.xwork2.ActionSupport">
	<result name="success">/WEB-INF/view/consumer/register.jsp</result>
	<result name="input">/WEB-INF/view/consumer/register.jsp</result>

and the http header misses the contentType.
I am using struts-

Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.

Really, I'm not out to destroy Microsoft. That will just be a 
completely unintentional side effect."
	-- Linus Torvalds

View raw message