Try to use a classless action, it will default to
com.opensymphony.xwork.ActionSupport which always returns "success".
<action name="search">
<result type="freemarker">search.ftl</result>
</action>
Perssy Llamosas
-------- Original Message --------
Subject: parse freemarker file that is not action result
From: Leonidas Papadakis <[EMAIL PROTECTED]>
To: user@struts.apache.org
Date: 30/07/2007 12:53 p.m.
Greetings to all,
i am using struts2. I have a freemarker page search.ftl I wish this
file to be parsed even if it is not returned by an action (i.e. get
values from session). I have noticed that only action returned
freemarker files are rendered.
Can someone suggest what do i have to do so that if i just wright on
the browser straight the freemarker file it will be parsed ? (The same
for velocity as well)
Thank you very much. Your answers are appreciated.
Leonidas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]