Hi. You can configure the action to set the result type to e.g. plain text ( http://struts.apache.org/2.x/docs/result-types.html).
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>
</action>
and the http header misses the contentType.
I am using struts-2.0.11.2.
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
Really, I'm not out to destroy Microsoft. That will just be a
completely unintentional side effect."
-- Linus Torvalds
smime.p7s
Description: S/MIME cryptographic signature

